Go to the documentation of this file.
58 #ifdef ENV_USE_FREERTOS
66 #ifdef HAL_COMP_MODULE_ENABLED
176 #ifdef ENV_RTOS_USE_SEMP
185 uint16_t app_comp_sem_start(
void);
void(* app_comp_evt_handler_t)(app_comp_evt_t *p_evt)
COMP event callback definition.
Definition: app_comp.h:117
uint16_t app_comp_stop(void)
Stop the comparator.
comp_handle_t * app_comp_get_handle(void)
Return the COMP handle.
LL COMP init Structure definition.
Definition: gr55xx_ll_comp.h:77
app_io_type_t
GPIO type Enumerations definition.
Definition: app_io.h:141
COMP handle Structure definition.
Definition: gr55xx_hal_comp.h:109
app_comp_pin_cfg_t pin_cfg
Definition: app_comp.h:110
Header file containing functions prototypes of GPIO app library.
COMP pins Structures.
Definition: app_comp.h:89
app_io_mux_t mux
Definition: app_comp.h:91
uint16_t app_comp_deinit(void)
De-initialize the APP COMP DRIVER peripheral.
uint16_t app_comp_start(void)
Start the comparator.
app_comp_pin_t vref
Definition: app_comp.h:102
This file contains all the functions prototypes for the HAL module driver.
comp_init_t init
Definition: app_comp.h:111
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...
app_comp_evt_t
COMP event Enumerations definition.
Definition: app_comp.h:75
COMP pins config Structures.
Definition: app_comp.h:100
app_io_mux_t
GPIO mux Enumerations definition.
Definition: app_io.h:198
Header file of app rtos config code.
Header file of app driver error code.
COMP parameters structure definition.
Definition: app_comp.h:109
app_io_type_t type
Definition: app_comp.h:90
app_comp_pin_t input
Definition: app_comp.h:101
uint32_t pin
Definition: app_comp.h:92