13#ifndef ZEPHYR_INCLUDE_DRIVERS_REGULATOR_MAX20362_H_
14#define ZEPHYR_INCLUDE_DRIVERS_REGULATOR_MAX20362_H_
37#define MAX20362_INT_CAPOVLO_MASK BIT(7)
39#define MAX20362_INT_CAPUVLO_MASK BIT(6)
41#define MAX20362_INT_BBSTON_MASK BIT(5)
43#define MAX20362_INT_BBSTOFF_MASK BIT(4)
45#define MAX20362_INT_BBINUVLO_MASK BIT(3)
47#define MAX20362_INT_UVLO_MASK BIT(2)
49#define MAX20362_INT_BSTFLT_MASK BIT(1)
51#define MAX20362_INT_THMFLT_MASK BIT(0)
59#define MAX20362_LDOINT_DIV_MASK BIT(3)
61#define MAX20362_LDOINT_SHR_MASK BIT(2)
63#define MAX20362_LDOINT_THM_MASK BIT(1)
65#define MAX20362_LDOINT_CLP_MASK BIT(0)
73#define MAX20362_INGENINT_OUTTMO_MASK BIT(4)
75#define MAX20362_INGENINT_DRPMIN_MASK BIT(3)
77#define MAX20362_INGENINT_TNKTMO_MASK BIT(2)
79#define MAX20362_INGENINT_SIMOPIN_MASK BIT(1)
81#define MAX20362_INGENINT_DRPMAX_MASK BIT(0)
89#define MAX20362_INT_MASK_ALL 0xFF
91#define MAX20362_LDO_INT_MASK_ALL 0x0F
93#define MAX20362_INGEN_INT_MASK_ALL 0x1F
int regulator_max20362_set_ingen_int_mask(const struct device *dev, uint8_t mask)
Sets the Ingenuity interrupt mask (INGEN_INT_MASK register) of the MAX20362 device.
int regulator_max20362_set_int_mask(const struct device *dev, uint8_t mask)
Sets the main interrupt mask (INT_MASK register) of the MAX20362 device.
int regulator_max20362_set_ldo_int_mask(const struct device *dev, uint8_t mask)
Sets the LDO interrupt mask (LDO_INT_MASK register) of the MAX20362 device.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:525