Go to the documentation of this file.
52 #ifndef _APP_COMP_PUB_H_
53 #define _APP_COMP_PUB_H_
64 #ifdef HAL_COMP_MODULE_ENABLED
74 #if (APP_DRIVER_CHIP_TYPE != APP_DRIVER_GR551X)
121 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
uint16_t app_comp_stop(void)
Stop the comparator.
void(* app_comp_evt_handler_t)(app_comp_evt_t *p_evt)
COMP event callback definition.
comp_handle_t * app_comp_get_handle(void)
Return the COMP handle.
app_comp_evt_handler_t evt_handler
LL COMP init Structure definition.
app_io_type_t
GPIO type Enumerations definition.
app_comp_state_t comp_state
COMP handle Structure definition.
app_comp_pin_cfg_t pin_cfg
Header file containing functions prototypes of GPIO app library.
uint16_t app_comp_deinit(void)
De-initialize the APP COMP DRIVER peripheral.
uint16_t app_comp_start(void)
Start the comparator.
This file contains all the functions prototypes for the HAL module driver.
app_comp_pin_cfg_t * p_pin_cfg
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.
COMP pins config Structures.
app_io_mux_t
GPIO mux Enumerations definition.
Header file of app driver error code.
Header file of app driver config code.
COMP parameters structure definition.
app_comp_state_t
App comp state types.
COMP device structure definition.