Home
last modified time | relevance | path

Searched refs:time (Results 1 – 22 of 22) sorted by relevance

/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_radio_timer.c259 static uint32_t _us_to_systime(uint32_t time);
260 static uint32_t _us_to_machinetime(uint32_t time);
263 uint32_t blue_unit_conversion(uint32_t time, uint32_t period_freq,
266 static int32_t _start_timer(VTIMER_HandleType *timerHandle, uint64_t time);
282 static uint64_t TIMER_GetPastSysTime(uint32_t time, uint64_t *current_system_time);
284 static uint8_t TIMER_GetRadioTimerValue(uint32_t *time);
491 RADIO_TIMER_Status HAL_RADIO_TIMER_GetRadioTimerStatus(uint64_t *time) in HAL_RADIO_TIMER_GetRadioTimerStatus() argument
495 *time = RADIO_TIMER_Context.radioTimer.expiryTime; in HAL_RADIO_TIMER_GetRadioTimerStatus()
596 uint32_t HAL_RADIO_TIMER_SetRadioTimerValue(uint32_t time, uint8_t event_type, uint8_t cal_req) in HAL_RADIO_TIMER_SetRadioTimerValue() argument
605 … = RADIO_TIMER_Context.calibrationData.last_calibration_time + (uint32_t)(time - (uint32_t)RADIO_T… in HAL_RADIO_TIMER_SetRadioTimerValue()
[all …]
Dstm32wb0x_hal_radio.c529 uint32_t time; in HAL_RADIO_ActionPacketIsr() local
572time = HAL_RADIO_TIMER_GetCurrentSysTime() + HAL_RADIO_TIMER_UsToSystime(next->WakeupTime); in HAL_RADIO_ActionPacketIsr()
573 …HAL_RADIO_TIMER_SetRadioTimerValue(time, (next->trans_config == STATEMACH_BYTE0_TXMODE_Msk), (next… in HAL_RADIO_ActionPacketIsr()
1019 uint32_t time; in HAL_RADIO_MakeActionPacketPending() local
1052 time = HAL_RADIO_TIMER_GetCurrentSysTime() + HAL_RADIO_TIMER_UsToSystime(p->WakeupTime); in HAL_RADIO_MakeActionPacketPending()
1053 …returnValue = HAL_RADIO_TIMER_SetRadioTimerValue(time, (p->trans_config == STATEMACH_BYTE0_TXMODE_… in HAL_RADIO_MakeActionPacketPending()
1076 uint8_t HAL_RADIO_GetStatus(uint32_t *time) in HAL_RADIO_GetStatus() argument
1081 retValue = HAL_RADIO_TIMER_GetRadioTimerValue(time); in HAL_RADIO_GetStatus()
1384 uint32_t time; in HAL_RADIO_SendPacket() local
1386 time = (uint32_t)HAL_RADIO_TIMER_GetCurrentSysTime() + HAL_RADIO_TIMER_UsToSystime(wakeup_time); in HAL_RADIO_SendPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_timebase_rtc_alarm_template.c119 RTC_TimeTypeDef time; in HAL_InitTick() local
215 time.Hours = 0x00u; in HAL_InitTick()
216 time.Minutes = 0x00u; in HAL_InitTick()
217 time.Seconds = 0x00u; in HAL_InitTick()
218 time.TimeFormat = RTC_HOURFORMAT12_PM; in HAL_InitTick()
219 time.SubSeconds = 0x00u; in HAL_InitTick()
220 time.SecondFraction = 0x00u; in HAL_InitTick()
221 time.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; in HAL_InitTick()
222 time.StoreOperation = RTC_STOREOPERATION_RESET; in HAL_InitTick()
223 status = HAL_RTC_SetTime(&hRTC_Handle, &time, RTC_FORMAT_BCD); in HAL_InitTick()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_timebase_rtc_alarm_template.c115 RTC_TimeTypeDef time; in HAL_InitTick() local
207 time.Hours = 0x00u; in HAL_InitTick()
208 time.Minutes = 0x00u; in HAL_InitTick()
209 time.Seconds = 0x00u; in HAL_InitTick()
210 time.TimeFormat = RTC_HOURFORMAT12_PM; in HAL_InitTick()
211 time.SubSeconds = 0x00u; in HAL_InitTick()
212 time.SecondFraction = 0x00u; in HAL_InitTick()
213 time.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; in HAL_InitTick()
214 time.StoreOperation = RTC_STOREOPERATION_RESET; in HAL_InitTick()
215 status = HAL_RTC_SetTime(&hRTC_Handle, &time, RTC_FORMAT_BCD); in HAL_InitTick()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_timebase_rtc_alarm_template.c119 RTC_TimeTypeDef time; in HAL_InitTick() local
212 time.Hours = 0x00u; in HAL_InitTick()
213 time.Minutes = 0x00u; in HAL_InitTick()
214 time.Seconds = 0x00u; in HAL_InitTick()
215 time.TimeFormat = RTC_HOURFORMAT12_PM; in HAL_InitTick()
216 time.SubSeconds = 0x00u; in HAL_InitTick()
217 time.SecondFraction = 0x00u; in HAL_InitTick()
218 time.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; in HAL_InitTick()
219 time.StoreOperation = RTC_STOREOPERATION_RESET; in HAL_InitTick()
220 status = HAL_RTC_SetTime(&hRTC_Handle, &time, RTC_FORMAT_BCD); in HAL_InitTick()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_hal_radio_timer.h158 RADIO_TIMER_Status HAL_RADIO_TIMER_GetRadioTimerStatus(uint64_t *time);
178 uint32_t HAL_RADIO_TIMER_SetRadioTimerValue(uint32_t time, uint8_t event_type, uint8_t cal_req);
213 uint8_t HAL_RADIO_TIMER_GetRadioTimerValue(uint32_t *time);
260 uint32_t HAL_RADIO_TIMER_UsToSystime(uint32_t time);
270 uint32_t HAL_RADIO_TIMER_MachineTimeToSysTime(uint32_t time);
341 uint32_t HAL_RADIO_TIMER_StartVirtualTimerSysTime(VTIMER_HandleType *timerHandle, uint64_t time);
Dstm32wb0x_ll_rcc.h793 __STATIC_INLINE void LL_RCC_LOCKDET_NSTOP_SetTime(uint32_t time) in LL_RCC_LOCKDET_NSTOP_SetTime() argument
795 MODIFY_REG(RCC->CR, RCC_CR_LOCKDET_NSTOP, time); in LL_RCC_LOCKDET_NSTOP_SetTime()
Dstm32wb0x_hal_radio.h125 uint8_t HAL_RADIO_GetStatus(uint32_t *time);
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_eth.c1543 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1588 time.Seconds = heth->Instance->PTPTSHR; in HAL_ETH_PTP_SetConfig()
1590 time.NanoSeconds = heth->Instance->PTPTSLR; in HAL_ETH_PTP_SetConfig()
1592 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1650 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1655 heth->Instance->PTPTSHUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1658 heth->Instance->PTPTSLUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1681 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1686 time->Seconds = heth->Instance->PTPTSHR; in HAL_ETH_PTP_GetTime()
1688 time->NanoSeconds = heth->Instance->PTPTSLR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_eth.c1543 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1588 time.Seconds = heth->Instance->PTPTSHR; in HAL_ETH_PTP_SetConfig()
1590 time.NanoSeconds = heth->Instance->PTPTSLR; in HAL_ETH_PTP_SetConfig()
1592 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1650 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1655 heth->Instance->PTPTSHUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1658 heth->Instance->PTPTSLUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1681 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1686 time->Seconds = heth->Instance->PTPTSHR; in HAL_ETH_PTP_GetTime()
1688 time->NanoSeconds = heth->Instance->PTPTSLR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_eth.c1502 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1549 time.Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_SetConfig()
1551 time.NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_SetConfig()
1553 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1617 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1622 heth->Instance->MACSTSUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1625 heth->Instance->MACSTNUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1648 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1653 time->Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_GetTime()
1655 time->NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_eth.c1511 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1564 time.Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_SetConfig()
1566 time.NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_SetConfig()
1568 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1635 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1640 heth->Instance->MACSTSUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1643 heth->Instance->MACSTNUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1666 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1671 time->Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_GetTime()
1673 time->NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_eth.c1511 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1564 time.Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_SetConfig()
1566 time.NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_SetConfig()
1568 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1635 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1640 heth->Instance->MACSTSUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1643 heth->Instance->MACSTNUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1666 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1671 time->Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_GetTime()
1673 time->NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_eth.c1559 ETH_TimeTypeDef time; in HAL_ETH_PTP_SetConfig() local
1607 time.Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_SetConfig()
1609 time.NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_SetConfig()
1611 HAL_ETH_PTP_SetTime(heth, &time); in HAL_ETH_PTP_SetConfig()
1679 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_SetTime() argument
1684 heth->Instance->MACSTSUR = time->Seconds; in HAL_ETH_PTP_SetTime()
1687 heth->Instance->MACSTNUR = time->NanoSeconds; in HAL_ETH_PTP_SetTime()
1710 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time) in HAL_ETH_PTP_GetTime() argument
1715 time->Seconds = heth->Instance->MACSTSR; in HAL_ETH_PTP_GetTime()
1717 time->NanoSeconds = heth->Instance->MACSTNR; in HAL_ETH_PTP_GetTime()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_eth.h1726 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
1727 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_hal_eth.h1726 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
1727 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_hal_eth.h1921 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
1922 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_eth.h1921 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
1922 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_eth.h1752 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
1753 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_hal_eth.h2001 HAL_StatusTypeDef HAL_ETH_PTP_SetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
2002 HAL_StatusTypeDef HAL_ETH_PTP_GetTime(ETH_HandleTypeDef *heth, ETH_TimeTypeDef *time);
/hal_stm32-latest/
DREADME.rst7 the opening of the merge window to give time to users to use it, potentially
/hal_stm32-latest/lib/stm32wb0/
DCMakeLists.txt182 # A BIG can be used for either transmitting or receiving, but not at the same time.