Firmware SDK
RTC_TR Union Reference

Data Fields

uint32_t i
 
struct {
   unsigned int   SU: 4
 
   unsigned int   ST: 3
 
   unsigned int   res1: 1
 
   unsigned int   MNU: 4
 
   unsigned int   MNT: 3
 
   unsigned int   res2: 1
 
   unsigned int   HU: 4
 
   unsigned int   HT: 2
 
   unsigned int   PM: 1
 
}; 
 

Detailed Description

Accessor data type for RTC_TR

This type allows accessing the contents of RTC_TR 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.1 RTC time register (RTC_TR) for the description of individual bit fields.

Definition at line 21 of file twr_rtc.c.


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