Home
last modified time | relevance | path

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

/hal_silabs-latest/gecko/emlib/src/
Dem_timer.c56 #define TIMER_DEVICE_ID(timer) ( \ argument
57 (timer) == TIMER0 ? 0 \
58 : (timer) == TIMER1 ? 1 \
59 : (timer) == TIMER2 ? 2 \
60 : (timer) == TIMER3 ? 3 \
61 : (timer) == TIMER4 ? 4 \
62 : (timer) == TIMER5 ? 5 \
63 : (timer) == TIMER6 ? 6 \
64 : (timer) == TIMER7 ? 7 \
65 : (timer) == TIMER8 ? 8 \
[all …]
/hal_silabs-latest/simplicity_sdk/platform/emlib/src/
Dem_timer.c56 #define TIMER_DEVICE_ID(timer) ( \ argument
57 (timer) == TIMER0 ? 0 \
58 : (timer) == TIMER1 ? 1 \
59 : (timer) == TIMER2 ? 2 \
60 : (timer) == TIMER3 ? 3 \
61 : (timer) == TIMER4 ? 4 \
62 : (timer) == TIMER5 ? 5 \
63 : (timer) == TIMER6 ? 6 \
64 : (timer) == TIMER7 ? 7 \
65 : (timer) == TIMER8 ? 8 \
[all …]
/hal_silabs-latest/gecko/emlib/inc/
Dem_timer.h577 void TIMER_SyncWait(TIMER_TypeDef * timer);
743 __STATIC_INLINE uint32_t TIMER_CaptureGet(TIMER_TypeDef *timer, unsigned int ch) in TIMER_CaptureGet() argument
746 if ((timer->CC[ch].CFG & _TIMER_CC_CFG_MODE_MASK) == TIMER_CC_CFG_MODE_INPUTCAPTURE) { in TIMER_CaptureGet()
747 return timer->CC[ch].ICF; in TIMER_CaptureGet()
749 return timer->CC[ch].OC; in TIMER_CaptureGet()
752 return timer->CC[ch].CCV; in TIMER_CaptureGet()
769 __STATIC_INLINE uint32_t TIMER_CaptureBufGet(TIMER_TypeDef *timer, unsigned int ch) in TIMER_CaptureBufGet() argument
772 if ((timer->CC[ch].CFG & _TIMER_CC_CFG_MODE_MASK) == TIMER_CC_CFG_MODE_INPUTCAPTURE) { in TIMER_CaptureBufGet()
773 return timer->CC[ch].ICOF; in TIMER_CaptureBufGet()
775 return timer->CC[ch].OCB; in TIMER_CaptureBufGet()
[all …]
/hal_silabs-latest/simplicity_sdk/platform/emlib/inc/
Dem_timer.h577 void TIMER_SyncWait(TIMER_TypeDef * timer);
743 __STATIC_INLINE uint32_t TIMER_CaptureGet(TIMER_TypeDef *timer, unsigned int ch) in TIMER_CaptureGet() argument
746 if ((timer->CC[ch].CFG & _TIMER_CC_CFG_MODE_MASK) == TIMER_CC_CFG_MODE_INPUTCAPTURE) { in TIMER_CaptureGet()
747 return timer->CC[ch].ICF; in TIMER_CaptureGet()
749 return timer->CC[ch].OC; in TIMER_CaptureGet()
752 return timer->CC[ch].CCV; in TIMER_CaptureGet()
769 __STATIC_INLINE uint32_t TIMER_CaptureBufGet(TIMER_TypeDef *timer, unsigned int ch) in TIMER_CaptureBufGet() argument
772 if ((timer->CC[ch].CFG & _TIMER_CC_CFG_MODE_MASK) == TIMER_CC_CFG_MODE_INPUTCAPTURE) { in TIMER_CaptureBufGet()
773 return timer->CC[ch].ICOF; in TIMER_CaptureBufGet()
775 return timer->CC[ch].OCB; in TIMER_CaptureBufGet()
[all …]
/hal_silabs-latest/simplicity_sdk/platform/service/sleeptimer/src/
Dsl_sleeptimer.c150 static void process_expired_timer(sl_sleeptimer_timer_handle_t *timer);
1576 static void process_expired_timer(sl_sleeptimer_timer_handle_t *timer) in process_expired_timer() argument
1586 if (timer->timeout_periodic != 0u) { in process_expired_timer()
1587 timeout_temp = timer->timeout_periodic; in process_expired_timer()
1589 periodic_correction = sleeptimer_hal_get_counter() - timer->timeout_expected_tc; in process_expired_timer()
1592 timer->timeout_expected_tc += timer->timeout_periodic; in process_expired_timer()
1600 delta_list_remove_timer(timer); in process_expired_timer()
1606 if (timer->timeout_periodic != 0u && skip_remove != true) { in process_expired_timer()
1610 if (timer->conversion_error > 0) { in process_expired_timer()
1612 timer->accumulated_error += timer->conversion_error; in process_expired_timer()
[all …]
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/wireless/ahb_interface/inc/
Dsli_siwx917_timer.h53 void sl_si91x_timer_init(sl_si91x_timer_t *timer, uint32_t duration);
54 int32_t sl_si91x_timer_expired(const sl_si91x_timer_t *timer);
55 uint32_t sl_si91x_timer_left(const sl_si91x_timer_t *timer);
/hal_silabs-latest/si32/si32Hal/sim3l1xx/
DSI32_PBCFG_A_Type.c342 uint32_t timer) in _SI32_PBCFG_A_set_pulse_generator_timer() argument
344 assert(timer < 32); // timer < 2^5 in _SI32_PBCFG_A_set_pulse_generator_timer()
348 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT; in _SI32_PBCFG_A_set_pulse_generator_timer()
DSI32_PBCFG_A_Type.h414 #define SI32_PBCFG_A_set_pulse_generator_timer(basePointer, timer) do{ \ argument
417 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT;\
/hal_silabs-latest/si32/si32Hal/sim3c1xx/
DSI32_PBCFG_A_Type.c290 uint32_t timer) in _SI32_PBCFG_A_set_pulse_generator_timer() argument
292 assert(timer < 32); // timer < 2^5 in _SI32_PBCFG_A_set_pulse_generator_timer()
296 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT; in _SI32_PBCFG_A_set_pulse_generator_timer()
DSI32_PBCFG_A_Type.h367 #define SI32_PBCFG_A_set_pulse_generator_timer(basePointer, timer) do{ \ argument
370 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT;\
/hal_silabs-latest/si32/si32Hal/sim3u1xx/
DSI32_PBCFG_A_Type.c290 uint32_t timer) in _SI32_PBCFG_A_set_pulse_generator_timer() argument
292 assert(timer < 32); // timer < 2^5 in _SI32_PBCFG_A_set_pulse_generator_timer()
296 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT; in _SI32_PBCFG_A_set_pulse_generator_timer()
DSI32_PBCFG_A_Type.h365 #define SI32_PBCFG_A_set_pulse_generator_timer(basePointer, timer) do{ \ argument
368 timer << SI32_PBCFG_A_CONTROL0_PGTIMER_SHIFT;\
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/wireless/src/
Dsl_si91x_driver.c1601 sl_status_t sl_si91x_set_rtc_timer(const sl_si91x_module_rtc_time_t *timer) in sl_si91x_set_rtc_timer() argument
1609 if ((timer->tm_sec > 59) || (timer->tm_min > 59) || (timer->tm_hour > 23) in sl_si91x_set_rtc_timer()
1610 || ((timer->tm_mday < 1) || (timer->tm_mday > 31)) || (timer->tm_mon > 11) in sl_si91x_set_rtc_timer()
1611 || ((timer->tm_wday < 1) || (timer->tm_wday > 7))) { in sl_si91x_set_rtc_timer()
1620 timer, in sl_si91x_set_rtc_timer()
/hal_silabs-latest/si32/si32Hal/SI32_Modules/
DSI32_I2C_A_Type.c49 uint32_t timer, in _SI32_I2C_A_initialize() argument
62 basePointer->TIMER.U32 = timer; in _SI32_I2C_A_initialize()
1652 uint32_t timer) in _SI32_I2C_A_write_timer() argument
1655 basePointer->TIMER.U32 = timer; in _SI32_I2C_A_write_timer()
DSI32_I2C_A_Type.h108 #define SI32_I2C_A_initialize(basePointer, control, config, saddress, smask, timer, timerrl, sconfi… argument
113 basePointer->TIMER.U32 = timer;\
1832 #define SI32_I2C_A_write_timer(basePointer, timer) \ argument
1833 (basePointer->TIMER.U32 = timer)
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/wireless/inc/
Dsl_si91x_driver.h335 sl_status_t sl_si91x_set_rtc_timer(const sl_si91x_module_rtc_time_t *timer);