struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
int max14914_init(struct max14914_desc **desc, struct max14914_init_param *init_param)
Initialize the MAX14914 device.
Definition max14914.c:124
int max14914_set_state(struct max14914_desc *desc, enum max14914_state state)
Set the state of the MAX14914.
Definition max14914.c:46
int max14914_remove(struct max14914_desc *desc)
Free resources allocated by the init function.
Definition max14914.c:204
max14914_state
Definition max14914.h:41
@ MAX14914_DIGITAL_OUTPUT_HIGH_SIDE
Definition max14914.h:43
@ MAX14914_DIGITAL_OUTPUT_PP
Definition max14914.h:42
@ MAX14914_DIGITAL_INPUT_IEC_TYPE1_3
Definition max14914.h:45
@ MAX14914_DIGITAL_INPUT_IEC_TYPE2
Definition max14914.h:46
@ MAX14914_DIGITAL_OUTPUT_LOW_SIDE
Definition max14914.h:44
Header file of GPIO Interface.
Header file of utility functions.
Structure holding the MAX14914 device descriptor.
Definition max14914.h:52
struct no_os_gpio_desc * doilvl_gpio
Definition max14914.h:55
enum max14914_state current_state
Definition max14914.h:53
struct no_os_gpio_desc * pp_gpio
Definition max14914.h:58
struct no_os_gpio_desc * fault_gpio
Definition max14914.h:54
struct no_os_gpio_desc * in_gpio
Definition max14914.h:57
struct no_os_gpio_desc * di_en_gpio
Definition max14914.h:56
Structure holding the MAX14914 initialization parameter.
Definition max14914.h:64
struct no_os_gpio_init_param * fault_init_param
Definition max14914.h:65
struct no_os_gpio_init_param * di_en_init_param
Definition max14914.h:67
struct no_os_gpio_init_param * in_init_param
Definition max14914.h:68
struct no_os_gpio_init_param * pp_init_param
Definition max14914.h:69
struct no_os_gpio_init_param * doilvl_init_param
Definition max14914.h:66
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67