Compare commits
3 Commits
6392d35129
...
70e524f041
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70e524f041 | ||
|
|
082e27dde5 | ||
|
|
dc84b068d6 |
@@ -32,7 +32,7 @@ void WriteFromSFunc(real_T* disc)
|
||||
}
|
||||
}
|
||||
disc[2 * PORT_WIDTH + 0] = phase_A.ctrl.angle.delay_us;
|
||||
disc[2 * PORT_WIDTH + 1] = ((uint16_t)TIMER->CNT - phase_A.ctrl.angle.start_delay_tick);
|
||||
disc[2 * PORT_WIDTH + 1] = (uint16_t)((uint16_t)TIMER->CNT - phase_A.ctrl.angle.start_delay_tick);
|
||||
disc[2 * PORT_WIDTH + 2] = phase_A.ctrl.angle.start_delay_tick;
|
||||
disc[2 * PORT_WIDTH + 3] = TIMER->CNT;
|
||||
}
|
||||
|
||||
BIN
mcu_test_r2021.slx
Normal file
BIN
mcu_test_r2021.slx
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user