Home
last modified time | relevance | path

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

/lk-master/external/platform/lpc15xx/lpcopen/periph_rtc/example/src/
A Drtc.c66 rtcStatus = Chip_RTC_GetStatus(LPC_RTC); in RTC_ALARM_IRQHandler()
89 rtcStatus = Chip_RTC_GetStatus(LPC_RTC); in RTC_WAKE_IRQHandler()
119 Chip_RTC_Init(LPC_RTC); in main()
126 Chip_RTC_Reset(LPC_RTC); in main()
130 Chip_RTC_Disable(LPC_RTC); in main()
131 Chip_RTC_SetCount(LPC_RTC, 0); in main()
134 Chip_RTC_SetAlarm(LPC_RTC, 1000); in main()
138 Chip_RTC_Enable1KHZ(LPC_RTC); in main()
139 Chip_RTC_Enable(LPC_RTC); in main()
161 Chip_RTC_SetWake(LPC_RTC, (300 + (stateCounter * 100))); in main()
[all …]
/lk-master/external/platform/lpc15xx/lpcopen/periph_pmu/example/src/
A Dpmu.c78 tempTimeout = Chip_RTC_GetCount(LPC_RTC) + 1; in DelayForSerialOutput()
79 while (Chip_RTC_GetCount(LPC_RTC) < tempTimeout) {} in DelayForSerialOutput()
179 rtcStatus = Chip_RTC_GetStatus(LPC_RTC); in RTC_ALARM_IRQHandler()
182 Chip_RTC_EnableOptions(LPC_RTC, in RTC_ALARM_IRQHandler()
206 Chip_RTC_Init(LPC_RTC); in main()
209 Chip_RTC_Reset(LPC_RTC); in main()
213 Chip_RTC_Disable(LPC_RTC); in main()
214 Chip_RTC_SetCount(LPC_RTC, 0); in main()
217 Chip_RTC_SetAlarm(LPC_RTC, 1000); in main()
220 Chip_RTC_Enable(LPC_RTC); in main()
[all …]
/lk-master/external/platform/lpc15xx/lpcopen/periph_pmu_rom/example/src/
A Dpmu_rom.c78 tempTimeout = Chip_RTC_GetCount(LPC_RTC) + 1; in DelayForSerialOutput()
79 while (Chip_RTC_GetCount(LPC_RTC) < tempTimeout) {} in DelayForSerialOutput()
183 rtcStatus = Chip_RTC_GetStatus(LPC_RTC); in RTC_ALARM_IRQHandler()
186 Chip_RTC_EnableOptions(LPC_RTC, in RTC_ALARM_IRQHandler()
210 Chip_RTC_Init(LPC_RTC); in main()
213 Chip_RTC_Reset(LPC_RTC); in main()
217 Chip_RTC_Disable(LPC_RTC); in main()
218 Chip_RTC_SetCount(LPC_RTC, 0); in main()
221 Chip_RTC_SetAlarm(LPC_RTC, 1000); in main()
224 Chip_RTC_Enable(LPC_RTC); in main()
[all …]
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dchip.h114 #define LPC_RTC ((LPC_RTC_T *) LPC_RTC_BASE) macro

Completed in 8 milliseconds