Go to the source code of this file.
|  | 
| #define | IT8801_REG_GISR   0xf9 | 
|  | 
| #define | IT8801_REG_MASK_GISR_GKSIIS   BIT(6) | 
|  | 
| #define | IT8801_REG_GIECR   0xfb | 
|  | 
| #define | IT8801_REG_MASK_GKSIIE   BIT(3) | 
|  | 
| #define | IT8801_REG_MASK_GGPIOIE   BIT(2) | 
|  | 
| #define | IT8801_REG_LBVIDR   0xfe | 
|  | 
| #define | IT8801_REG_HBVIDR   0xff | 
|  | 
| #define | IT8801_REG_SMBCR   0xfa | 
|  | 
| #define | IT8801_REG_MASK_ARE   BIT(4) | 
|  | 
| #define | IT8801_GPIOAFS_FUN1   0x0 | 
|  | 
| #define | IT8801_GPIOAFS_FUN2   0x01 | 
|  | 
| #define | IT8801_GPIOAFS_FUN3   0x02 | 
|  | 
| #define | IT8801_GPIODIR   BIT(5) | 
|  | 
| #define | IT8801_GPIOIOT_OD   BIT(4) | 
|  | 
| #define | IT8801_GPIOIOT_INT_FALL   BIT(4) | 
|  | 
| #define | IT8801_GPIOIOT_INT_RISE   BIT(3) | 
|  | 
| #define | IT8801_GPIOPOL   BIT(2) | 
|  | 
| #define | IT8801_GPIOPDE   BIT(1) | 
|  | 
| #define | IT8801_GPIOPUE   BIT(0) | 
|  | 
| #define | IT8801_REG_MASK_KSOSDIC   BIT(7) | 
|  | 
| #define | IT8801_REG_MASK_KSE   BIT(6) | 
|  | 
| #define | IT8801_REG_MASK_AKSOSC   BIT(5) | 
|  | 
| #define | PWM_IT8801_FREQ   32895 | 
|  | 
| #define | PWM_IT8801_PUSH_PULL   BIT(8) | 
|  | 
| #define | IT8801_REG_PWMODDSR   0x5f | 
|  | 
| #define | IT8801_PWMMCR_MCR_MASK   GENMASK(1, 0) | 
|  | 
| #define | IT8801_PWMMCR_MCR_OFF   0 | 
|  | 
| #define | IT8801_PWMMCR_MCR_BLINKING   1 | 
|  | 
| #define | IT8801_PWMMCR_MCR_BREATHING   2 | 
|  | 
| #define | IT8801_PWMMCR_MCR_ON   3 | 
|  | 
| #define | IT8801_DT_INST_MFDCTRL(inst,  idx)   DT_INST_PHANDLE_BY_IDX(inst, mfdctrl, idx) | 
|  | 
| #define | IT8801_DT_INST_MFDCTRL_LEN(inst)   DT_INST_PROP_LEN_OR(inst, mfdctrl, 0) | 
|  | 
| #define | IT8801_DEV_MFD(idx,  inst)   	DEVICE_DT_GET(DT_PHANDLE(IT8801_DT_INST_MFDCTRL(inst, idx), altctrls)) | 
|  | 
| #define | IT8801_DEV_MFD_PIN(idx,  inst)   DT_PHA(IT8801_DT_INST_MFDCTRL(inst, idx), altctrls, pin) | 
|  | 
| #define | IT8801_DEV_MFD_FUNC(idx,  inst)   DT_PHA(IT8801_DT_INST_MFDCTRL(inst, idx), altctrls, alt_func) | 
|  | 
| #define | IT8801_DT_MFD_ITEMS_FUNC(idx,  inst) | 
|  | 
| #define | IT8801_DT_MFD_ITEMS_LIST(inst) | 
|  | 
◆ IT8801_DEV_MFD
◆ IT8801_DEV_MFD_FUNC
◆ IT8801_DEV_MFD_PIN
◆ IT8801_DT_INST_MFDCTRL
◆ IT8801_DT_INST_MFDCTRL_LEN
◆ IT8801_DT_MFD_ITEMS_FUNC
      
        
          | #define IT8801_DT_MFD_ITEMS_FUNC | ( |  | idx, | 
        
          |  |  |  | inst | 
        
          |  | ) |  |  | 
      
 
Value:        {                                                                                          \
        }
#define IT8801_DEV_MFD_FUNC(idx, inst)
Definition mfd_ite_it8801.h:101
#define IT8801_DEV_MFD(idx, inst)
Definition mfd_ite_it8801.h:98
#define IT8801_DEV_MFD_PIN(idx, inst)
Definition mfd_ite_it8801.h:100
 
 
◆ IT8801_DT_MFD_ITEMS_LIST
      
        
          | #define IT8801_DT_MFD_ITEMS_LIST | ( |  | inst | ) |  | 
      
 
Value:
                inst) }
#define LISTIFY(LEN, F, sep,...)
Generates a sequence of code with configurable separator.
Definition util_macro.h:478
#define IT8801_DT_INST_MFDCTRL_LEN(inst)
Definition mfd_ite_it8801.h:96
#define IT8801_DT_MFD_ITEMS_FUNC(idx, inst)
Definition mfd_ite_it8801.h:103
 
 
 
◆ IT8801_GPIOAFS_FUN1
      
        
          | #define IT8801_GPIOAFS_FUN1   0x0 | 
      
 
 
◆ IT8801_GPIOAFS_FUN2
      
        
          | #define IT8801_GPIOAFS_FUN2   0x01 | 
      
 
 
◆ IT8801_GPIOAFS_FUN3
      
        
          | #define IT8801_GPIOAFS_FUN3   0x02 | 
      
 
 
◆ IT8801_GPIODIR
      
        
          | #define IT8801_GPIODIR   BIT(5) | 
      
 
 
◆ IT8801_GPIOIOT_INT_FALL
      
        
          | #define IT8801_GPIOIOT_INT_FALL   BIT(4) | 
      
 
 
◆ IT8801_GPIOIOT_INT_RISE
      
        
          | #define IT8801_GPIOIOT_INT_RISE   BIT(3) | 
      
 
 
◆ IT8801_GPIOIOT_OD
      
        
          | #define IT8801_GPIOIOT_OD   BIT(4) | 
      
 
 
◆ IT8801_GPIOPDE
      
        
          | #define IT8801_GPIOPDE   BIT(1) | 
      
 
 
◆ IT8801_GPIOPOL
      
        
          | #define IT8801_GPIOPOL   BIT(2) | 
      
 
 
◆ IT8801_GPIOPUE
      
        
          | #define IT8801_GPIOPUE   BIT(0) | 
      
 
 
◆ IT8801_PWMMCR_MCR_BLINKING
      
        
          | #define IT8801_PWMMCR_MCR_BLINKING   1 | 
      
 
 
◆ IT8801_PWMMCR_MCR_BREATHING
      
        
          | #define IT8801_PWMMCR_MCR_BREATHING   2 | 
      
 
 
◆ IT8801_PWMMCR_MCR_MASK
      
        
          | #define IT8801_PWMMCR_MCR_MASK   GENMASK(1, 0) | 
      
 
 
◆ IT8801_PWMMCR_MCR_OFF
      
        
          | #define IT8801_PWMMCR_MCR_OFF   0 | 
      
 
 
◆ IT8801_PWMMCR_MCR_ON
      
        
          | #define IT8801_PWMMCR_MCR_ON   3 | 
      
 
 
◆ IT8801_REG_GIECR
      
        
          | #define IT8801_REG_GIECR   0xfb | 
      
 
 
◆ IT8801_REG_GISR
      
        
          | #define IT8801_REG_GISR   0xf9 | 
      
 
 
◆ IT8801_REG_HBVIDR
      
        
          | #define IT8801_REG_HBVIDR   0xff | 
      
 
 
◆ IT8801_REG_LBVIDR
      
        
          | #define IT8801_REG_LBVIDR   0xfe | 
      
 
 
◆ IT8801_REG_MASK_AKSOSC
      
        
          | #define IT8801_REG_MASK_AKSOSC   BIT(5) | 
      
 
 
◆ IT8801_REG_MASK_ARE
      
        
          | #define IT8801_REG_MASK_ARE   BIT(4) | 
      
 
 
◆ IT8801_REG_MASK_GGPIOIE
      
        
          | #define IT8801_REG_MASK_GGPIOIE   BIT(2) | 
      
 
 
◆ IT8801_REG_MASK_GISR_GKSIIS
      
        
          | #define IT8801_REG_MASK_GISR_GKSIIS   BIT(6) | 
      
 
 
◆ IT8801_REG_MASK_GKSIIE
      
        
          | #define IT8801_REG_MASK_GKSIIE   BIT(3) | 
      
 
 
◆ IT8801_REG_MASK_KSE
      
        
          | #define IT8801_REG_MASK_KSE   BIT(6) | 
      
 
 
◆ IT8801_REG_MASK_KSOSDIC
      
        
          | #define IT8801_REG_MASK_KSOSDIC   BIT(7) | 
      
 
 
◆ IT8801_REG_PWMODDSR
      
        
          | #define IT8801_REG_PWMODDSR   0x5f | 
      
 
 
◆ IT8801_REG_SMBCR
      
        
          | #define IT8801_REG_SMBCR   0xfa | 
      
 
 
◆ PWM_IT8801_FREQ
      
        
          | #define PWM_IT8801_FREQ   32895 | 
      
 
 
◆ PWM_IT8801_PUSH_PULL
      
        
          | #define PWM_IT8801_PUSH_PULL   BIT(8) | 
      
 
 
◆ it8801_callback_handler_t
      
        
          | typedef void(* it8801_callback_handler_t) (const struct device *dev) | 
      
 
 
◆ mfd_it8801_configure_pins()
◆ mfd_it8801_register_interrupt_callback()
◆ it8801_id_verify
Initial value:= {
        {0x12,  0xff },
        {0x83,  0xfe },
}