| 
14 | 14 | #include <zephyr/drivers/gpio/gpio_utils.h>  | 
15 | 15 | #include <zephyr/drivers/mfd/npm2100.h>  | 
16 | 16 | 
 
  | 
17 |  | -#define EVENTS_SET            0x00U  | 
18 |  | -#define EVENTS_CLR            0x05U  | 
19 |  | -#define INTEN_SET             0x0AU  | 
20 |  | -#define GPIO_CONFIG           0x80U  | 
21 |  | -#define GPIO_USAGE            0x83U  | 
22 |  | -#define TIMER_TASKS_START     0xB0U  | 
23 |  | -#define TIMER_CONFIG          0xB3U  | 
24 |  | -#define TIMER_TARGET          0xB4U  | 
25 |  | -#define TIMER_STATUS          0xB7U  | 
26 |  | -#define SHPHLD_WAKEUP         0xC1U  | 
27 |  | -#define SHPHLD_SHPHLD         0xC2U  | 
28 |  | -#define HIBERNATE_TASKS_HIBER 0xC8U  | 
 | 17 | +#define EVENTS_SET              0x00U  | 
 | 18 | +#define EVENTS_CLR              0x05U  | 
 | 19 | +#define INTEN_SET               0x0AU  | 
 | 20 | +#define GPIO_CONFIG             0x80U  | 
 | 21 | +#define GPIO_USAGE              0x83U  | 
 | 22 | +#define TIMER_TASKS_START       0xB0U  | 
 | 23 | +#define TIMER_CONFIG            0xB3U  | 
 | 24 | +#define TIMER_TARGET            0xB4U  | 
 | 25 | +#define TIMER_STATUS            0xB7U  | 
 | 26 | +#define SHPHLD_WAKEUP           0xC1U  | 
 | 27 | +#define SHPHLD_SHPHLD           0xC2U  | 
 | 28 | +#define HIBERNATE_TASKS_HIBER   0xC8U  | 
29 | 29 | #define HIBERNATE_TASKS_HIBERPT 0xC9U  | 
30 |  | -#define RESET_TASKS_RESET     0xD0U  | 
31 |  | -#define RESET_BUTTON          0xD2U  | 
32 |  | -#define RESET_PIN             0xD3U  | 
33 |  | -#define RESET_WRITESTICKY     0xDBU  | 
34 |  | -#define RESET_STROBESTICKY    0xDCU  | 
 | 30 | +#define RESET_TASKS_RESET       0xD0U  | 
 | 31 | +#define RESET_BUTTON            0xD2U  | 
 | 32 | +#define RESET_PIN               0xD3U  | 
 | 33 | +#define RESET_WRITESTICKY       0xDBU  | 
 | 34 | +#define RESET_STROBESTICKY      0xDCU  | 
35 | 35 | 
 
  | 
36 | 36 | #define SHPHLD_RESISTOR_MASK     0x03U  | 
37 | 37 | #define SHPHLD_RESISTOR_PULLUP   0x00U  | 
 | 
0 commit comments