Home
last modified time | relevance | path

Searched refs:CNT (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/soc/nxp/s32/s32k1/
Dsoc.c32 IP_WDOG->CNT = WDOG_UPDATE_KEY; in z_arm_watchdog_init()
34 IP_WDOG->CNT = WDOG_UPDATE_KEY & 0xFFFFU; in z_arm_watchdog_init()
35 IP_WDOG->CNT = (WDOG_UPDATE_KEY >> 16U) & 0xFFFFU; in z_arm_watchdog_init()
/Zephyr-latest/drivers/counter/
Dcounter_mchp_xec.c95 counter->CNT = counter->PRLD; in counter_xec_stop()
106 *ticks = counter->CNT; in counter_xec_get_value()
140 counter->CNT = alarm_cfg->ticks; in counter_xec_set_alarm()
212 if (counter->CNT > cfg->ticks) { in counter_xec_set_top_value()
216 counter->CNT = cfg->ticks; in counter_xec_set_top_value()
220 counter->CNT = cfg->ticks; in counter_xec_set_top_value()
271 alarm_cb(dev, 0, counter->CNT, user_data); in counter_xec_isr()
301 counter->CNT = counter_cfg->info.max_top_value; in counter_xec_init()
Dcounter_mcux_tpm.c185 base->CNT = 0;
189 base->CNT = 0;
Dcounter_gecko_rtcc.c298 RTCC->CNT = 0; in counter_gecko_init()
Dcounter_ifx_cat1.c72 uintptr_t cnt = POINTER_TO_UINT(_CYHAL_TCPWM_DATA[i].base->CNT); in get_hw_block_info()
/Zephyr-latest/soc/microchip/mec/mec15xx/
Dtiming.c21 B32TMR1_REGS->CNT = 0; /* Counter value */ in soc_timing_init()
39 return B32TMR1_REGS->CNT; in soc_timing_counter_get()
/Zephyr-latest/drivers/timer/
Dwch_systick_ch32v00x.c43 return ch32v00x_systick_count + SYSTICK->CNT; in sys_clock_cycle_get_32()
57 SYSTICK->CNT = 0; in ch32v00x_systick_init()
Dmchp_xec_rtos_timer.c161 uint32_t ccr = TIMER_REGS->CNT; in timer_count()
389 uint32_t start = BTMR32_0_REGS->CNT; in arch_busy_wait()
392 uint32_t curr = BTMR32_0_REGS->CNT; in arch_busy_wait()
435 while (TIMER_REGS->CNT == 0) { in sys_clock_driver_init()
Dgecko_burtc_timer.c225 BURTC->CNT = 0; in burtc_init()
/Zephyr-latest/soc/microchip/mec/mec172x/
Dtiming.c31 regs->CNT = 0; /* Counter value */ in soc_timing_init()
49 return regs->CNT; in soc_timing_counter_get()
/Zephyr-latest/soc/microchip/mec/common/reg/
Dmec_timers.h76 volatile uint32_t CNT; member
111 volatile uint16_t CNT; member
180 volatile uint32_t CNT; member
Dmec_wdt.h77 volatile uint16_t CNT; member
/Zephyr-latest/drivers/watchdog/
Dwdt_wwdt_numaker.c215 LOG_DBG("CNT=%d, CTL=0x%x", wwdt_base->CNT, wwdt_base->CTL); in wwdt_numaker_feed()
230 LOG_DBG("CNT=%d", wwdt_base->CNT); in wwdt_numaker_isr()
/Zephyr-latest/soc/nxp/kinetis/ke1xf/
Dsoc.c288 WDOG->CNT = WDOG_UPDATE_KEY; in z_arm_watchdog_init()
/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c411 cnt = config->base->CNT; in mcux_ftm_irq_handler()
Dpwm_numaker.c280 EPWM_GET_CAPTURE_FALLING_DATA(epwm, channel), epwm->CNT[channel]); in pwm_numaker_get_cap_cycle()