Home
last modified time | relevance | path

Searched refs:STIMER (Results 1 – 4 of 4) sorted by relevance

/hal_ambiq-3.6.0/mcu/apollo4p/hal/
Dam_hal_stimer.c82 ui32CurrVal = STIMER->STCFG; in am_hal_stimer_config()
87 STIMER->STCFG = ui32STimerConfig; in am_hal_stimer_config()
112 (STIMER_STCFG_CLKSEL_NOCLK != STIMER->STCFG_b.CLKSEL) && in am_hal_stimer_is_running()
113 (STIMER_STCFG_FREEZE_THAW == STIMER->STCFG_b.FREEZE) && in am_hal_stimer_is_running()
114 (STIMER_STCFG_CLEAR_RUN == STIMER->STCFG_b.CLEAR)); in am_hal_stimer_is_running()
124 STIMER->STCFG = _VAL2FLD(STIMER_STCFG_FREEZE, 1); in am_hal_stimer_reset_config()
125 STIMER->SCAPCTRL0 = _VAL2FLD(STIMER_SCAPCTRL0_STSEL0, 0x7F); in am_hal_stimer_reset_config()
126 STIMER->SCAPCTRL1 = _VAL2FLD(STIMER_SCAPCTRL1_STSEL1, 0x7F); in am_hal_stimer_reset_config()
127 STIMER->SCAPCTRL2 = _VAL2FLD(STIMER_SCAPCTRL2_STSEL2, 0x7F); in am_hal_stimer_reset_config()
128 STIMER->SCAPCTRL3 = _VAL2FLD(STIMER_SCAPCTRL3_STSEL3, 0x7F); in am_hal_stimer_reset_config()
[all …]
Dam_hal_stimer.h60 #define AM_HAL_STIMER_COMPARE_OFFSET (&STIMER->SCMPR1 - &STIMER->SCMPR0)
61 #define AM_REG_STIMER_COMPARE(n, r) ((&STIMER->SCMPR0) + \
65 #define AM_HAL_STIMER_CAPTURE_OFFSET (&STIMER->SCAPT1 - &STIMER->SCAPT0)
66 #define AM_REG_STIMER_CAPTURE(n, r) ((&STIMER->SCAPT0) + \
70 #define AM_HAL_STIMER_NVRAM_OFFSET (&STIMER->SNVR1 - &STIMER->SNVR0)
71 #define AM_REG_STIMER_NVRAM(n, r) ((&STIMER->SNVR0) + \
/hal_ambiq-3.6.0/CMSIS/AmbiqMicro/Include/
Dapollo4b_generic.h27250 #define STIMER ((STIMER_Type*) STIMER_BASE) macro
Dapollo4p.h27745 #define STIMER ((STIMER_Type*) STIMER_BASE) macro