Home
last modified time | relevance | path

Searched refs:HWREG (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/timer/
Dcc23x0_systim_timer.c62 uint32_t now_tick = HWREG(SYSTIM_BASE + SYSTIM_O_TIME1U); in sys_clock_set_timeout()
69 HWREG(SYSTIM_BASE + SYSTIM_O_CH0CC) = now_tick + timeout; in sys_clock_set_timeout()
76 uint32_t current_systim_count = HWREG(SYSTIM_BASE + SYSTIM_O_TIME1U); in sys_clock_elapsed()
92 return HWREG(SYSTIM_BASE + SYSTIM_O_TIME1U); in sys_clock_cycle_get_32()
98 uint32_t current_systim_count = HWREG(SYSTIM_BASE + SYSTIM_O_TIME1U); in systim_isr()
121 now_tick = HWREG(SYSTIM_BASE + SYSTIM_O_TIME1U); in sys_clock_driver_init()
125 HWREG(SYSTIM_BASE + SYSTIM_O_ICLR) = SYSTIM_ICLR_EV0_CLR; in sys_clock_driver_init()
131 HWREG(SYSTIM_BASE + SYSTIM_O_CH0CFG) = 0; in sys_clock_driver_init()
134 HWREG(SYSTIM_BASE + SYSTIM_O_EMU) = SYSTIM_EMU_HALT_STOP; in sys_clock_driver_init()
136 HWREG(EVTSVT_BASE + EVTSVT_O_CPUIRQ16SEL) = EVTSVT_CPUIRQ16SEL_PUBID_SYSTIM0; in sys_clock_driver_init()
[all …]
Dcc13xx_cc26xx_rtc_timer.c140 HWREG(AON_RTC_BASE + AON_RTC_O_SYNC) = 1; in initDevice()
142 HWREG(AON_RTC_BASE + AON_RTC_O_SYNC); in initDevice()
147 HWREG(AON_RTC_BASE + AON_RTC_O_SYNC); in initDevice()
/Zephyr-latest/drivers/pwm/
Dpwm_cc13xx_cc26xx_timer.c53 HWREG(config->gpt_base + prescale_register) = prescaleValue; in write_value()
56 HWREG(config->gpt_base + value_register) = value & 0xffff; in write_value()
115 HWREG(config->gpt_base + GPT_O_CTL) |= GPT_CTL_TBPWML_INVERTED; in set_cycles()
117 HWREG(config->gpt_base + GPT_O_CTL) |= GPT_CTL_TBPWML_NORMAL; in set_cycles()
223 HWREG(config->gpt_base + GPT_O_CFG) = GPT_CFG_CFG_16BIT_TIMER; in init_pwm()
228 HWREG(config->gpt_base + GPT_O_CTL) |= GPT_CTL_TBSTALL; in init_pwm()
230 HWREG(config->gpt_base + GPT_O_TBMR) = GPT_TBMR_TBAMS_PWM | GPT_TBMR_TBMRSU_TOUPDATE | in init_pwm()
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_cc23x0.c22 HWREG(iocfg_reg) = mode | func; in pinctrl_cc23x0_set()
/Zephyr-latest/drivers/adc/
Dadc_cc13xx_cc26xx.c113 HWREG(AUX_EVCTL_BASE + AUX_EVCTL_O_EVTOMCUFLAGSCLR) = in adc_cc13xx_cc26xx_init()
251 HWREG(AUX_EVCTL_BASE + AUX_EVCTL_O_EVTOMCUFLAGS) & in adc_cc13xx_cc26xx_isr()
258 HWREG(AUX_EVCTL_BASE + AUX_EVCTL_O_EVTOMCUFLAGSCLR) = ev_status; in adc_cc13xx_cc26xx_isr()
/Zephyr-latest/drivers/gpio/
Dgpio_cc13xx_cc26xx.c246 HWREG(AON_EVENT_BASE + AON_EVENT_O_MCUWUSEL) = in gpio_cc13xx_cc26xx_init()
247 (HWREG(AON_EVENT_BASE + AON_EVENT_O_MCUWUSEL) & in gpio_cc13xx_cc26xx_init()
/Zephyr-latest/drivers/i2c/
Di2c_cc32xx.c359 regval = HWREG(COMMON_REG_BASE); in i2c_cc32xx_init()
361 HWREG(COMMON_REG_BASE) = regval; in i2c_cc32xx_init()