This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

st,stm32-rtc

Vendor: STMicroelectronics

Description

STM32 RTC

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Clock frequency information for RTC operation

prescaler

int

RTC frequency equals clock-frequency divided by the prescaler value

alarms-count

int

Number of alarms supported by STM32 RTC device.
Most of STM32 MCU series have 2 RTC alarms, A & B.
Defaults to 0 when not declared in devicetree.

calib-out-freq

int

Calibration output frequency (1 Hz or 512 Hz).

Legal values: 1, 512

alrm-exti-line

int

Number of the Extended Interrupts and Event Controller (EXTI) interrupt
line connected to the RTC Alarm event.
Not required, since RTC Alarm interrupt could be routed directly to Nested
Vectored Interrupt Controller (NVIC) and to Power Control (PWR) wake-up
pins on some series.
Valid range: 0 - 31