cdc 2.1.0.0
|
CDC Click example. More...
Macros | |
#define | CDC_EXT_CAP_C1_C0_PF 0.0f |
#define | CDC_INT_CAP_PF 10.0f |
#define | CDC_REF ( CDC_EXT_CAP_C1_C0_PF + CDC_INT_CAP_PF ) |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
CDC Click example.
This example demonstrates the use of CDC click board by reading capacitance measurements from C3/C2 and C5/C4 ports calculated from pure capacitance ratio between those ports and port C1/C0 which is used as external C reference.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Starts measurement and reads the results. The results data is displayed on the USB UART.
#define CDC_EXT_CAP_C1_C0_PF 0.0f |
#define CDC_INT_CAP_PF 10.0f |
#define CDC_REF ( CDC_EXT_CAP_C1_C0_PF + CDC_INT_CAP_PF ) |
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 | ) |