Functions | |
uint16_t | app_comp_init (app_comp_params_t *p_params, app_comp_evt_handler_t evt_handler) |
Initialize the APP COMP DRIVER according to the specified parameters in the app_comp_params_t and app_comp_evt_handler_t. More... | |
uint16_t | app_comp_deinit (void) |
De-initialize the APP COMP DRIVER peripheral. More... | |
uint16_t | app_comp_start (void) |
Start the comparator. More... | |
uint16_t | app_comp_stop (void) |
Stop the comparator. More... | |
comp_handle_t * | app_comp_get_handle (void) |
Return the COMP handle. More... | |
uint16_t app_comp_deinit | ( | void | ) |
De-initialize the APP COMP DRIVER peripheral.
comp_handle_t* app_comp_get_handle | ( | void | ) |
Return the COMP handle.
uint16_t app_comp_init | ( | app_comp_params_t * | p_params, |
app_comp_evt_handler_t | evt_handler | ||
) |
Initialize the APP COMP DRIVER according to the specified parameters in the app_comp_params_t and app_comp_evt_handler_t.
[in] | p_params | Pointer to app_comp_params_t parameter which contains the configuration information for the specified COMP module. |
[in] | evt_handler | COMP user callback function. |
uint16_t app_comp_start | ( | void | ) |
Start the comparator.
uint16_t app_comp_stop | ( | void | ) |
Stop the comparator.