tdc 2.0.0.0
|
Tdc Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Tdc Click example.
This library contains an API for the TDC Click driver. This demo application shows the use of a TDC Click boardâ„¢.
The demo application is composed of two sections :
Initialization of SPI module and log UART. After driver initialization, the app set default settings and the configures the measurement ( set the pulse to 100 us ).
This is an example that shows the use of a TDC Click boardâ„¢. In this example, after the START signal, the app sends 3 STOP signals per 100 microseconds. The application reads and displays the value of Time, Clock count and Time-of-Flight values of three performed measurements. Results are being sent to the Usart Terminal where you can track their changes.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |