Firmware SDK
twr_delay.c
1 #include <twr_delay.h>
2 #include <twr_timer.h>
3 #include <twr_gpio.h>
4 
5 void twr_delay_us(uint16_t microseconds)
6 {
9  twr_timer_delay(microseconds);
11 }
void twr_delay_us(uint16_t microseconds)
Delay us.
Definition: twr_delay.c:5
void twr_timer_init(void)
Initialize timer.
Definition: twr_timer.c:23
void twr_timer_delay(uint16_t microseconds)
Relative delay.
Definition: twr_timer.c:59
void twr_timer_stop(void)
Stop timer.
Definition: twr_timer.c:42
void twr_timer_start(void)
Start timer.
Definition: twr_timer.c:28