mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 22:38:32 +03:00
tc_etu: Add explicit enable/disable functions
We don't want the tc_etu to call into card_emu at all times, e.g. while clock is applied, but RST is not yet present. Rather, we want to explicitly enable it once RST is released
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
void tc_etu_set_wtime(uint8_t chan_nr, uint16_t wtime);
|
||||
void tc_etu_set_etu(uint8_t chan_nr, uint16_t etu);
|
||||
void tc_etu_init(uint8_t chan_nr, void *handle);
|
||||
void tc_etu_enable(uint8_t chan_nr);
|
||||
void tc_etu_disable(uint8_t chan_nr);
|
||||
|
||||
extern void tc_etu_wtime_half_expired(void *handle);
|
||||
extern void tc_etu_wtime_expired(void *handle);
|
||||
|
||||
Reference in New Issue
Block a user