Home
last modified time | relevance | path

Searched refs:PWMCTL (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_npcx.c59 inst->PWMCTL &= ~BIT(NPCX_PWMCTL_PWR); in pwm_npcx_configure()
62 inst->PWMCTL &= ~BIT(NPCX_PWMCTL_INVP); in pwm_npcx_configure()
65 SET_FIELD(inst->PWMCTL, NPCX_PWMCTL_HB_DC_CTL_FIELD, in pwm_npcx_configure()
74 inst->PWMCTL |= BIT(NPCX_PWMCTL_CKSEL); in pwm_npcx_configure()
76 inst->PWMCTL &= ~BIT(NPCX_PWMCTL_CKSEL); in pwm_npcx_configure()
95 ctl = inst->PWMCTL | BIT(NPCX_PWMCTL_PWR); in pwm_npcx_set_cycles()
107 inst->PWMCTL = ctl; in pwm_npcx_set_cycles()
134 if (inst->PWMCTL != ctl || inst->PRSC != prsc || inst->CTR != ctr) { in pwm_npcx_set_cycles()
136 inst->PWMCTL &= ~BIT(NPCX_PWMCTL_PWR); in pwm_npcx_set_cycles()
143 inst->PWMCTL = ctl; in pwm_npcx_set_cycles()
/Zephyr-Core-3.6.0/soc/arm/nuvoton_npcx/common/
Dregisters.c48 NPCX_REG_OFFSET_CHECK(pwm_reg, PWMCTL, 0x004);
/Zephyr-Core-3.6.0/soc/arm/nuvoton_npcx/common/reg/
Dreg_def.h431 volatile uint8_t PWMCTL; member