Expand description
RTC DateTime driver.
Structs§
- Interrupt
Handler - RTC interrupt handler.
- Rtc
- Minimal RTC handle for a specific instance I (store the zero-sized token like embassy)
- RtcConfig
- RtcDate
Time - Date and time structure for RTC operations
- RtcInterrupt
Enable - RTC interrupt enable flags
Traits§
- Instance
- Trait for RTC peripheral instances
Functions§
- convert_
datetime_ to_ seconds - Converts a DateTime structure to Unix timestamp (seconds since 1970-01-01)
- convert_
seconds_ to_ datetime - Converts Unix timestamp to DateTime structure
- get_
default_ config - Returns default RTC configuration
Type Aliases§
- Rtc0
- Token for RTC0