Roy_01
|
1ca945f900
|
style: organize code
|
2025-03-28 15:35:02 +08:00 |
|
Roy_01
|
0f3048ba31
|
refactor: refactor dev_mode_ctrl_electrodes_task
|
2025-03-28 15:24:21 +08:00 |
|
Roy_01
|
b561b86f3b
|
feat: 1. add a 1ms delay before and after controlling the ADPT GPIO in max14802_write
2. dev mode commands (except those already available to users) start with 3xxxFFFF
|
2025-03-28 09:45:14 +08:00 |
|
Roy_01
|
d62fc6dfc1
|
feat: update the gpio instruction in dev_mode
|
2025-03-25 16:36:06 +08:00 |
|
Roy_01
|
b976d5e21e
|
feat: update the electrode_switch instruction in dev_mode
|
2025-03-25 14:07:18 +08:00 |
|
Roy_01
|
872138137a
|
refactor: merge cpg.c and cpg11_dev_mode.c
|
2025-03-25 13:15:44 +08:00 |
|
Roy_01
|
d374045c8f
|
fix: fix error head file
|
2025-03-21 14:34:04 +08:00 |
|
Roy_01
|
9305cfd2a3
|
fix: fix parameter name typo
|
2024-11-25 11:08:57 +08:00 |
|
Roy_01
|
f904bded31
|
fix: 修正dev_mode打e1~e4的api
|
2024-11-01 16:48:12 +08:00 |
|
Roy_01
|
917bff3c20
|
fix: 修正e1&e2 idle對調問題, 修正e3&e4 idle對調問題
|
2024-11-01 14:24:24 +08:00 |
|
Roy_01
|
de7403ed52
|
feat: 修改cpg_pulse_default_demo_ext(), 可設定e1,e2,e3,e4來輸出脈波
|
2024-10-30 14:39:04 +08:00 |
|
Roy_01
|
973cc07871
|
updated: idle訊號改成highZ訊號
|
2024-10-30 11:16:22 +08:00 |
|
Roy_01
|
2a1122fccb
|
fix: fix log
|
2024-10-23 15:51:30 +08:00 |
|
Roy_01
|
ae34ff9efe
|
fix: fix header file link
|
2024-10-01 16:49:00 +08:00 |
|
Roy_01
|
9b9c710f63
|
update: redefine elite model
|
2024-10-01 16:10:30 +08:00 |
|
Roy_01
|
8f507a9522
|
feat: updated dev_mode_adapter_block_switch() in dev_mode
|
2024-09-26 11:04:15 +08:00 |
|
Roy_01
|
682f8d4a9b
|
fix: fix exclude_io
|
2024-09-25 17:35:09 +08:00 |
|
Roy_01
|
d57d946c4f
|
feat: new dev_mode_adapter_block_switch() in dev_mode
|
2024-09-25 17:24:09 +08:00 |
|
Roy_01
|
5576a6ea20
|
update: updated dev_mode_tw1508() code in dev_mode
|
2024-09-25 11:57:11 +08:00 |
|
Roy_01
|
70312cf1f5
|
note: updated comments
|
2024-09-25 10:45:15 +08:00 |
|
Roy_01
|
03d53ed0a3
|
update: updated dev_mode_gpio() code in dev_mode
|
2024-09-25 10:34:14 +08:00 |
|
Roy_01
|
df280027f0
|
update: updated dev_mode_electrode_switch() code in dev_mode
|
2024-09-24 09:45:36 +08:00 |
|
Roy_01
|
9d11067e1d
|
fix: using NFC pins P0.09 and P0.10 as GPIOs
|
2024-09-23 09:43:05 +08:00 |
|
Roy_01
|
d8b82b6edf
|
fix: replace 'pusle' with 'pulse'
|
2024-09-12 09:23:24 +08:00 |
|
Roy_01
|
ba55256b91
|
fix: freq is wrong when use only one electrode
|
2024-09-11 17:45:52 +08:00 |
|
Roy_01
|
0f105e6166
|
feat: new start_electrodes_api & stop_electrodes_api
|
2024-09-10 17:45:03 +08:00 |
|
Roy_01
|
516970a6a5
|
feat: new current_convert_tw1508()
|
2024-09-06 16:45:11 +08:00 |
|
Roy_01
|
694c3c4289
|
update: modify the commands related to controlling the electrodes
|
2024-09-05 15:53:04 +08:00 |
|
Roy_01
|
66fc6c92f5
|
fix: 1. fix start_which_electrodes()
2. after powering on, the state of all four electrodes is highZ
3. an electrode only changes to the idle state after it has been used
|
2024-08-30 16:50:16 +08:00 |
|
Roy_01
|
3fbc01a6e4
|
fix: fix cpg11_electrodes()
|
2024-08-29 11:16:07 +08:00 |
|
Roy_01
|
8db81a445c
|
fix: 1. upon startup, the state of all electrodes is highZ (the control of GPIOs follows a specific order)
2. the state is idle before starting and after finishing the pulse generation
|
2024-08-29 09:56:08 +08:00 |
|
Roy_01
|
98082a2a05
|
fix: can input 3000FF0208F0 to turn off all the electrodes
|
2024-08-22 10:54:08 +08:00 |
|
Roy_01
|
2e42e83fe3
|
1. fix: cpg_pulse_default_demo is the waveform applied to the third electrode
2. fix: the possible combinations of electrodes that can generate pulses are {timer1_IRQ corresponding electrode, timer2_IRQ corresponding electrode} = {1, x} {2, x} {x, 3} {x, 4} {1, 3} {1, 4} {2, 3} {2, 4}
|
2024-08-21 12:05:04 +08:00 |
|
Roy_01
|
9672e20bb4
|
test: demo是電極3的pulse
|
2024-08-13 11:56:54 +08:00 |
|
Roy_01
|
5c027a7d9f
|
test: 暫時借用電極1&2的timer, 測試電極3&4
|
2024-08-13 11:51:33 +08:00 |
|
Roy_01
|
49a402d86b
|
update: update cpg1.0 to cpg1.1 code
|
2024-08-08 16:59:03 +08:00 |
|
Roy_01
|
808a618712
|
update: update a bunch of functions in dev mode
|
2024-08-08 16:19:05 +08:00 |
|
Roy_01
|
ddb70af2ed
|
fix: fix cpg1.1 cpg_pulse_default_demo
|
2024-08-08 16:14:24 +08:00 |
|
Roy_01
|
8ff828849d
|
fix: update cpg1.0 to cpg1.1 gpio
|
2024-08-08 16:11:25 +08:00 |
|
Roy_01
|
d792fbe6b7
|
feat: new dev_mode: stop_which_electrodes
|
2024-08-01 10:53:06 +08:00 |
|
Roy_01
|
453dbba5a7
|
feat: new dev_mode: setting_cpg_pulse_parameter & start_which_electrodes
|
2024-07-31 20:36:45 +08:00 |
|
Roy_01
|
167abf6536
|
feat: cpg1.0 and cpg1.1 use the same app layer
|
2024-07-31 20:36:45 +08:00 |
|
Roy_01
|
a675e49259
|
feat: dev_mode_ctrl_cpg10_electrodes_task new cpg_pulse_demo task
|
2024-07-18 16:17:10 +08:00 |
|
Roy_01
|
a11ce3651c
|
fix: cpg init: tw1508 about 1mA
|
2024-07-18 16:16:20 +08:00 |
|
Roy_01
|
03f09066d1
|
feat: new electrodes idle & highZ
update electrodes1~4 process
|
2024-07-10 21:01:54 +08:00 |
|
Roy_01
|
ec0beac33a
|
feat: 新增 electrodes1~4 task
|
2024-07-10 21:01:54 +08:00 |
|
Roy_01
|
9fe4aaffbd
|
fix: 修正 cpg10 dev_mode 指令
|
2024-07-10 21:01:54 +08:00 |
|
Roy_01
|
92410a8568
|
fix: 修正電極組合
|
2024-07-09 12:06:13 +08:00 |
|
Roy_01
|
74e3ef02c4
|
feat: new dev_mode_set_cpg10_tw1508
|
2024-07-09 11:59:55 +08:00 |
|
Roy_01
|
b072f22ede
|
fix: 更改 cpg1.0 io init
tw1508 = 0
|
2024-07-09 11:48:27 +08:00 |
|