Firmware SDK
RTC_DR Union Reference

Data Fields

uint32_t i
 
struct {
   unsigned int   DU: 4
 
   unsigned int   DT: 2
 
   unsigned int   res: 2
 
   unsigned int   MU: 4
 
   unsigned int   MT: 1
 
   unsigned int   WDU: 3
 
   unsigned int   YU: 4
 
   unsigned int   YT: 4
 
}; 
 

Detailed Description

Accessor data type for RTC_DR

This type allows accessing the contents of RTC_DR either as a 32-bit integer, or by individual bit fields without the need to mask and shift the value. See the STM32L0x3 Reference Manual, Section 27.7.2 RTC date register (RTC_DR) for the description of individual bit fields.

Definition at line 44 of file twr_rtc.c.


The documentation for this union was generated from the following file: