/Zephyr-latest/drivers/rtc/ |
D | Kconfig | 4 menuconfig RTC config 5 bool "Real-Time Clock (RTC) drivers" 7 Enable RTC driver configuration. 9 if RTC 11 module = RTC 16 int "RTC init priority" 19 RTC device driver initialization priority. 22 bool "RTC driver alarm support" 24 This is an option which enables driver support for RTC alarms. 27 bool "RTC driver update event callback support" [all …]
|
D | rtc_ll_stm32.c | 148 uint32_t hour_format = LL_RTC_GetHourFormat(RTC); in rtc_stm32_configure() 149 uint32_t sync_prescaler = LL_RTC_GetSynchPrescaler(RTC); in rtc_stm32_configure() 150 uint32_t async_prescaler = LL_RTC_GetAsynchPrescaler(RTC); in rtc_stm32_configure() 152 LL_RTC_DisableWriteProtection(RTC); in rtc_stm32_configure() 160 ErrorStatus status = LL_RTC_EnterInitMode(RTC); in rtc_stm32_configure() 163 LL_RTC_SetHourFormat(RTC, LL_RTC_HOURFORMAT_24HOUR); in rtc_stm32_configure() 164 LL_RTC_SetSynchPrescaler(RTC, cfg->sync_prescaler); in rtc_stm32_configure() 165 LL_RTC_SetAsynchPrescaler(RTC, cfg->async_prescaler); in rtc_stm32_configure() 170 LL_RTC_DisableInitMode(RTC); in rtc_stm32_configure() 174 LL_RTC_CAL_SetOutputFreq(RTC, cfg->cal_out_freq); in rtc_stm32_configure() [all …]
|
D | rtc_smartbond.c | 116 uint32_t rtc_event_flags_reg = RTC->RTC_EVENT_FLAGS_REG; in smartbond_rtc_isr() 118 uint32_t rtc_interrupt_mask_reg = RTC->RTC_INTERRUPT_MASK_REG; in smartbond_rtc_isr() 147 RTC->RTC_CONTROL_REG = 0; in rtc_smartbond_set_status() 149 RTC->RTC_CONTROL_REG = (RTC_RTC_CONTROL_REG_RTC_CAL_DISABLE_Msk | in rtc_smartbond_set_status() 187 uint32_t rtc_time_reg = RTC->RTC_TIME_REG; in bcd_to_rtc_time() 198 uint32_t rtc_calendar_reg = RTC->RTC_CALENDAR_REG; in bcd_to_rtc_calendar() 233 rtc_time_reg = RTC->RTC_TIME_REG; in rtc_smartbond_set_time() 234 rtc_calendar_reg = RTC->RTC_CALENDAR_REG; in rtc_smartbond_set_time() 236 RTC->RTC_TIME_REG = rtc_time_to_bcd(timeptr); in rtc_smartbond_set_time() 237 RTC->RTC_CALENDAR_REG = rtc_calendar_to_bcd(timeptr); in rtc_smartbond_set_time() [all …]
|
D | Kconfig.numaker | 1 # NUMAKER RTC Driver configuration options 7 bool "Nuvoton NuMaker MCU RTC driver" 12 This option enables the RTC driver for Nuvoton NuMaker family of 14 Say y if you wish to enable NuMaker RTC.
|
D | Kconfig.mc146818 | 1 # Intel SoC RTC configuration options 7 bool "RTC driver for x86 CMOS/RTC clock"
|
D | Kconfig.fake | 1 # Fake RTC configuration options 7 bool "Fake RTC driver" 11 Enable support for the FFF-based fake RTC driver.
|
D | Kconfig.pcf8563 | 1 # NXP PCF8523 RTC 7 bool "NXP PCF8563 RTC driver" 12 Enable the NXP PCF8563 RTC driver.
|
D | Kconfig.ifx_cat1 | 1 # Infineon CAT1 RTC configuration options 9 bool "Infineon CAT1 RTC driver" 14 This option enables the RTC driver for Infineon CAT1 family.
|
D | Kconfig.xmc4xxx | 5 bool "XMC4xxx RTC driver" 9 Build RTC driver for XMC4xxx SoCs.
|
D | Kconfig.smartbond | 5 bool "Smartbond RTC driver" 9 Build RTC driver for Smartbond SoCs.
|
D | Kconfig.emul | 5 bool "Emulated RTC driver" 9 Enable emulated Real-Time Clock (RTC) driver.
|
D | Kconfig.ambiq | 5 bool "AMBIQ RTC driver" 10 Enable the AMBIQ RTC driver.
|
D | Kconfig.sam | 5 bool "Atmel SAM RTC driver" 9 Atmel Real-Time Clock (RTC) driver used on SAM SoC series.
|
/Zephyr-latest/drivers/counter/ |
D | counter_ll_stm32_rtc.c | 253 rtc_date = LL_RTC_DATE_Get(RTC); in rtc_stm32_read() 257 rtc_time = LL_RTC_TIME_Get(RTC); in rtc_stm32_read() 258 rtc_subseconds = LL_RTC_TIME_GetSubSecond(RTC); in rtc_stm32_read() 259 } while (rtc_time != LL_RTC_TIME_Get(RTC)); in rtc_stm32_read() 261 rtc_time = LL_RTC_TIME_Get(RTC); in rtc_stm32_read() 264 } while (rtc_date != LL_RTC_DATE_Get(RTC)); in rtc_stm32_read() 310 rtc_time = LL_RTC_TIME_Get(RTC); in rtc_stm32_read() 421 LL_RTC_DisableWriteProtection(RTC); in rtc_stm32_set_alarm() 422 ll_func_disable_alarm(RTC); in rtc_stm32_set_alarm() 423 LL_RTC_EnableWriteProtection(RTC); in rtc_stm32_set_alarm() [all …]
|
D | Kconfig.mcux_rtc | 1 # MCUXpresso SDK RTC 7 bool "MCUX RTC driver" 11 Enable support for MCU RTC driver.
|
D | Kconfig.stm32_rtc | 1 # STM32 Cube LL RTC 7 bool "STM32 Counter RTC driver" 8 default y if !RTC 15 Build RTC driver for STM32 SoCs. 31 of the counter. The frequency of the time is RTC Source Clock divided
|
D | Kconfig.esp32_rtc | 1 # ESP32 RTC Timer configuration 7 bool "ESP32 Counter driver based on the RTC Timer" 11 Enables the Counter driver API based on Espressif's RTC
|
D | Kconfig.mcux_lpc_rtc | 5 bool "MCUX LPC RTC driver" 13 bool "MCUX LPC RTC 1Hz counter driver" 20 bool "MCUX LPC RTC High Resolution counter driver"
|
D | Kconfig.cmos | 7 bool "Counter driver for x86 CMOS/RTC clock" 8 default y if !RTC
|
D | Kconfig.mcp7940n | 7 bool "Microchip MCP7940N RTC" 12 Enable RTC driver based on Microchip MCP7940N I2C device.
|
/Zephyr-latest/samples/drivers/rtc/ |
D | README.rst | 2 :name: Real-Time Clock (RTC) 11 to set and read the date/time from RTC and display on the console 12 and can be built and executed on boards supporting RTC. 30 RTC date and time: 2024-11-17 04:19:00 31 RTC date and time: 2024-11-17 04:19:01
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | rtc.rst | 3 Real-Time Clock (RTC) 19 * - RTC 22 An RTC is a low power device which tracks time using broken-down time. 38 between broken-down time and the unix timestamp within the RTC 63 RTC device driver test suite 66 The test suite validates the behavior of the RTC device driver. It 68 alias ``rtc`` to designate the RTC device to test. 73 * RTC Time incrementing correctly. 102 To build the test with additional RTC features enabled, use menuconfig 132 RTC emulated device [all …]
|
/Zephyr-latest/drivers/timer/ |
D | nrf_rtc_timer.c | 26 #define RTC NRF_RTC1 macro 27 #define RTC_IRQn NRFX_IRQ_NUMBER_GET(RTC) 75 nrfy_rtc_cc_set(RTC, chan, cyc & COUNTER_MAX); in set_comparator() 80 return nrfy_rtc_event_check(RTC, NRF_RTC_CHANNEL_EVENT_ADDR(chan)); in event_check() 85 nrfy_rtc_event_clear(RTC, NRF_RTC_CHANNEL_EVENT_ADDR(chan)); in event_clear() 90 nrfy_rtc_event_enable(RTC, NRF_RTC_CHANNEL_INT_MASK(chan)); in event_enable() 95 nrfy_rtc_event_disable(RTC, NRF_RTC_CHANNEL_INT_MASK(chan)); in event_disable() 100 return nrfy_rtc_counter_get(RTC); in counter() 135 return nrfy_rtc_event_address_get(RTC, nrfy_rtc_compare_event_get(chan)); in z_nrf_rtc_timer_compare_evt_address_get() 146 return nrfy_rtc_task_address_get(RTC, nrfy_rtc_capture_task_get(chan)); in z_nrf_rtc_timer_capture_task_address_get() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | cntr.c | 29 RTC->CR |= RTC_CR_SWR_MASK; in cntr_init() 30 RTC->CR &= ~RTC_CR_SWR_MASK; in cntr_init() 36 RTC->TSR = 1; in cntr_init() 39 RTC->CR |= (RTC_CR_CPS(1) | RTC_CR_OSCE(1)); in cntr_init()
|
/Zephyr-latest/soc/nordic/nrf53/ |
D | Kconfig.sync_rtc | 5 bool "RTC clock synchronization" 15 module-str = Synchronized RTC 19 int "nRF53 Synchronized RTC init priority" 22 nRF53 Synchronized RTC initialization priority. 30 bool "Use Synchronized RTC for logging timestamp"
|