mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
send sync signal to clock when reset
This commit is contained in:
parent
9ec32e1fe8
commit
b993236be2
4 changed files with 60 additions and 27 deletions
|
@ -246,6 +246,9 @@ void lf_init(bool reader, bool simulate) {
|
|||
AT91C_BASE_TC0->TC_CCR = AT91C_TC_CLKEN | AT91C_TC_SWTRG;
|
||||
AT91C_BASE_TC1->TC_CCR = AT91C_TC_CLKEN | AT91C_TC_SWTRG;
|
||||
|
||||
// Assert a sync signal. This sets all timers to 0 on next active clock edge
|
||||
AT91C_BASE_TCB->TCB_BCR = 1;
|
||||
|
||||
// Prepare data trace
|
||||
uint32_t bufsize = 10000;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue