powerreset 2.0.0.0
|
This file contains API for Power Reset Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | powerreset_t |
Click ctx object definition. More... | |
struct | powerreset_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | POWERRESET_MAP_MIKROBUS(cfg, mikrobus) |
#define | POWERRESET_RETVAL uint8_t |
#define | powerreset_state_t uint8_t |
#define | POWERRESET_OK 0x00 |
#define | POWERRESET_INIT_ERROR 0xFF |
#define | POWERRESET_ACTIVE 1 |
#define | POWERRESET_INACTIVE 0 |
Functions | |
void | powerreset_cfg_setup (powerreset_cfg_t *cfg) |
Config Object Initialization function. | |
POWERRESET_RETVAL | powerreset_init (powerreset_t *ctx, powerreset_cfg_t *cfg) |
Initialization function. | |
powerreset_state_t | powerreset_get_pwr (powerreset_t *ctx) |
Power Check function. | |
powerreset_state_t | powerreset_get_rst (powerreset_t *ctx) |
Reset Check function. | |
This file contains API for Power Reset Click driver.