Home
last modified time | relevance | path

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

/hal_infineon-3.6.0/XMCLib/drivers/src/
Dxmc_rtc.c139 void XMC_RTC_SetTime(const XMC_RTC_TIME_t *const time) in XMC_RTC_SetTime() argument
141 XMC_ASSERT("XMC_RTC_SetTime:Wrong seconds value", ((uint32_t)time->seconds < XMC_RTC_MAXSECONDS)); in XMC_RTC_SetTime()
142 XMC_ASSERT("XMC_RTC_SetTime:Wrong minutes value", ((uint32_t)time->minutes < XMC_RTC_MAXMINUTES)); in XMC_RTC_SetTime()
143 XMC_ASSERT("XMC_RTC_SetTime:Wrong hours value", ((uint32_t)time->hours < XMC_RTC_MAXHOURS)); in XMC_RTC_SetTime()
144 …XMC_ASSERT("XMC_RTC_SetTime:Wrong week day value", ((uint32_t)time->daysofweek < XMC_RTC_MAXDAYSOF… in XMC_RTC_SetTime()
145 XMC_ASSERT("XMC_RTC_SetTime:Wrong month value", ((uint32_t)time->month < XMC_RTC_MAXMONTH)); in XMC_RTC_SetTime()
146 XMC_ASSERT("XMC_RTC_SetTime:Wrong year value", ((uint32_t)time->year < XMC_RTC_MAXYEAR)); in XMC_RTC_SetTime()
153 RTC->TIM0 = time->raw0; in XMC_RTC_SetTime()
159 RTC->TIM1 = time->raw1; in XMC_RTC_SetTime()
166 RTC->TIM0 = time->raw0; in XMC_RTC_SetTime()
[all …]
Dxmc_eth_mac.c813 …MC_ETH_MAC_InitPTPEx(XMC_ETH_MAC_t *const eth_mac, uint32_t config, XMC_ETH_MAC_TIME_t *const time) in XMC_ETH_MAC_InitPTPEx() argument
818 eth_mac->regs->SYSTEM_TIME_NANOSECONDS_UPDATE = time->nanoseconds; in XMC_ETH_MAC_InitPTPEx()
819 eth_mac->regs->SYSTEM_TIME_SECONDS_UPDATE = time->seconds; in XMC_ETH_MAC_InitPTPEx()
825 void XMC_ETH_MAC_GetPTPTime(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time) in XMC_ETH_MAC_GetPTPTime() argument
829 time->nanoseconds = (uint32_t)(eth_mac->regs->SYSTEM_TIME_NANOSECONDS); /* accuracy of 1 ns */ in XMC_ETH_MAC_GetPTPTime()
830 time->seconds = eth_mac->regs->SYSTEM_TIME_SECONDS; in XMC_ETH_MAC_GetPTPTime()
834 void XMC_ETH_MAC_SetPTPTime(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time) in XMC_ETH_MAC_SetPTPTime() argument
838 eth_mac->regs->SYSTEM_TIME_SECONDS_UPDATE = time->seconds; in XMC_ETH_MAC_SetPTPTime()
839 eth_mac->regs->SYSTEM_TIME_NANOSECONDS_UPDATE = time->nanoseconds; in XMC_ETH_MAC_SetPTPTime()
847 void XMC_ETH_MAC_UpdatePTPTime(XMC_ETH_MAC_t *const eth_mac, const XMC_ETH_MAC_TIME_t *const time) in XMC_ETH_MAC_UpdatePTPTime() argument
[all …]
Dxmc1_rtc.c89 RTC->TIM0 = config->time.raw0; in XMC_RTC_Init()
90 RTC->TIM1 = config->time.raw1; in XMC_RTC_Init()
Dxmc4_rtc.c115 RTC->TIM0 = config->time.raw0; in XMC_RTC_Init()
121 RTC->TIM1 = config->time.raw1; in XMC_RTC_Init()
Dxmc_dsd.c336 void XMC_DSD_CH_GetResult_TS_Time(XMC_DSD_CH_t* const channel, int16_t* dsd_Result, uint32_t* time) in XMC_DSD_CH_GetResult_TS_Time() argument
358 …*time = (uint32_t)(((uint32_t) integrator_count * ((uint32_t) decimation + 1U)) + (uint32_t) ((uin… in XMC_DSD_CH_GetResult_TS_Time()
362 *time = (uint32_t) ((uint32_t)decimation - filter_count); in XMC_DSD_CH_GetResult_TS_Time()
/hal_infineon-3.6.0/mtb-hal-cat1/source/
Dcyhal_rtc.c116 static void _cyhal_rtc_from_pdl_time(cy_stc_rtc_config_t *pdlTime, const int year, struct tm *time)… in _cyhal_rtc_from_pdl_time() argument
118 CY_ASSERT(NULL != time); in _cyhal_rtc_from_pdl_time()
123 time->tm_sec = (int)pdlTime->sec; in _cyhal_rtc_from_pdl_time()
124 time->tm_min = (int)pdlTime->min; in _cyhal_rtc_from_pdl_time()
125 time->tm_hour = (int)pdlTime->hour; in _cyhal_rtc_from_pdl_time()
126 time->tm_mday = (int)pdlTime->date; in _cyhal_rtc_from_pdl_time()
127 time->tm_mon = (int)(pdlTime->month - 1u); in _cyhal_rtc_from_pdl_time()
128 time->tm_year = (int)(year - _CYHAL_RTC_TM_YEAR_BASE); in _cyhal_rtc_from_pdl_time()
129 time->tm_wday = (int)(pdlTime->dayOfWeek - 1u); in _cyhal_rtc_from_pdl_time()
130 time->tm_yday = (int)CUMULATIVE_DAYS[time->tm_mon] + (int)pdlTime->date - 1 + in _cyhal_rtc_from_pdl_time()
[all …]
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/third_party/ethernet/src/
Dedd.c3446 uint32_t emacSet1588Timer(void *pD, CEDI_1588TimerVal *time) in emacSet1588Timer() argument
3449 if ((pD==NULL) || (time==NULL)) in emacSet1588Timer()
3453 if (time->nanosecs>0x3FFFFFFF) in emacSet1588Timer()
3457 EMAC_REGS__TSU_TIMER_MSB_SEC__TIMER__MODIFY(reg, time->secsUpper); in emacSet1588Timer()
3461 EMAC_REGS__TSU_TIMER_SEC__TIMER__MODIFY(reg, time->secsLower); in emacSet1588Timer()
3464 EMAC_REGS__TSU_TIMER_NSEC__TIMER__MODIFY(reg, time->nanosecs); in emacSet1588Timer()
3469 uint32_t emacGet1588Timer(void *pD, CEDI_1588TimerVal *time) in emacGet1588Timer() argument
3472 if ((pD==NULL) || (time==NULL)) return EINVAL; in emacGet1588Timer()
3478 time->secsLower = EMAC_REGS__TSU_TIMER_SEC__TIMER__READ( in emacGet1588Timer()
3480 time->secsUpper = EMAC_REGS__TSU_TIMER_MSB_SEC__TIMER__READ( in emacGet1588Timer()
[all …]
/hal_infineon-3.6.0/mtb-hal-cat1/include/
Dcyhal_rtc.h209 cy_rslt_t cyhal_rtc_read(cyhal_rtc_t *obj, struct tm *time);
217 cy_rslt_t cyhal_rtc_write(cyhal_rtc_t *obj, const struct tm *time);
264 cy_rslt_t cyhal_rtc_set_alarm(cyhal_rtc_t *obj, const struct tm *time, cyhal_alarm_active_t active);
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/third_party/ethernet/include/
Dcedi.h572 typedef void (*CEDI_CbPtpPriFrameTx)(void* pD, uint32_t type, struct CEDI_1588TimerVal* time);
582 typedef void (*CEDI_CbPtpPeerFrameTx)(void* pD, uint32_t type, struct CEDI_1588TimerVal* time);
592 typedef void (*CEDI_CbPtpPriFrameRx)(void* pD, uint32_t type, struct CEDI_1588TimerVal* time);
602 typedef void (*CEDI_CbPtpPeerFrameRx)(void* pD, uint32_t type, struct CEDI_1588TimerVal* time);
2831 uint32_t (*set1588Timer)(void* pD, CEDI_1588TimerVal* time);
2841 uint32_t (*get1588Timer)(void* pD, CEDI_1588TimerVal* time);
2886 uint32_t (*setTsuTimerCompVal)(void* pD, CEDI_TsuTimerVal* time);
2896 uint32_t (*getTsuTimerCompVal)(void* pD, CEDI_TsuTimerVal* time);
2906 uint32_t (*getPtpFrameTxTime)(void* pD, CEDI_1588TimerVal* time);
2916 uint32_t (*getPtpFrameRxTime)(void* pD, CEDI_1588TimerVal* time);
[all …]
Dedd_int.h243 uint32_t emacGetPtpFrameTxTime(void *pD, CEDI_1588TimerVal *time);
244 uint32_t emacGetPtpFrameRxTime(void *pD, CEDI_1588TimerVal *time);
245 uint32_t emacGetPtpPeerFrameTxTime(void *pD, CEDI_1588TimerVal *time);
246 uint32_t emacGetPtpPeerFrameRxTime(void *pD, CEDI_1588TimerVal *time);
/hal_infineon-3.6.0/XMCLib/drivers/inc/
Dxmc_eth_mac.h1649 …C_ETH_MAC_InitPTPEx(XMC_ETH_MAC_t *const eth_mac, uint32_t config, XMC_ETH_MAC_TIME_t *const time);
1663 void XMC_ETH_MAC_GetPTPTime(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time);
1676 void XMC_ETH_MAC_SetPTPTime(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time);
1690 void XMC_ETH_MAC_UpdatePTPTime(XMC_ETH_MAC_t *const eth_mac, const XMC_ETH_MAC_TIME_t *const time);
1704 void XMC_ETH_MAC_SetPTPAlarm(XMC_ETH_MAC_t *const eth_mac, const XMC_ETH_MAC_TIME_t *const time);
1791 …_STATUS_t XMC_ETH_MAC_GetRxTimeStamp(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time);
1804 …_STATUS_t XMC_ETH_MAC_GetTxTimeStamp(XMC_ETH_MAC_t *const eth_mac, XMC_ETH_MAC_TIME_t *const time);
Dxmc_rtc.h262 XMC_RTC_TIME_t time; member
468 void XMC_RTC_GetTime(XMC_RTC_TIME_t *const time);
Dxmc_dsd.h814 void XMC_DSD_CH_GetResult_TS_Time(XMC_DSD_CH_t *const channel, int16_t* dsd_Result, uint32_t* time);
/hal_infineon-3.6.0/mtb-hal-cat1/
DRELEASE.md4 …le cores at the same time, the application is responsible for ensuring that each peripheral is onl…
171 * Updated RTC driver to support Day Light Savings time
DREADME.md37 …ecific "handle" types). Additionally, a HAL implementation may be compile-time dependent on device…
50 …pically found in operations that need to wait for a significant period of time. In an RTOS aware e…
/hal_infineon-3.6.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_sdpcm.c181 unsigned long time;
194 cy_rtos_get_time(&sdpcm_log[next_sdpcm_log_pos].time);
/hal_infineon-3.6.0/wifi-host-driver/
DRELEASE.md11 …ffloads, including ARP, packet filters, TCP Keepalive offload, DHCP lease time renewal offload, an…
DLICENSE.txt124 either party may terminate this Agreement at any time with or without cause.
187 or revised from time to time, and may be provided to its third party sales
/hal_infineon-3.6.0/mtb-pdl-cat1/
DEULA.txt123 either party may terminate this Agreement at any time with or without cause.
186 or revised from time to time, and may be provided to its third party sales
/hal_infineon-3.6.0/zephyr/blobs/
Dlicense.txt124 either party may terminate this Agreement at any time with or without cause.
187 or revised from time to time, and may be provided to its third party sales
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_ethif.c104 …ic void Cy_ETHIF_EventPtp(void* pcy_privatedata, uint32_t u32type, struct CEDI_1588TimerVal* time);
1881 …ic void Cy_ETHIF_EventPtp (void* pcy_privatedata, uint32_t u32type, struct CEDI_1588TimerVal* time) in Cy_ETHIF_EventPtp() argument
1913 CY_UNUSED_PARAMETER(time); /* Suppress a compiler warning about unused variables */ in Cy_ETHIF_EventPtp()
/hal_infineon-3.6.0/abstraction-rtos/
DREADME.md86 - `cy_time_t` : count of time in milliseconds