Samsung S5PC110 Manual page 782

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
4 REAL TIME CLOCK (RTC)
4.3 LEAP YEAR GENERATOR
The leap year generator determines the last day of each month out of 28, 29, 30, or 31. This is calculated based
on the data from BCDDAY, BCDMON, and BCDYEAR. This block considers leap year while deciding on the last
day of a month.
NOTE: The BCDYEAR register is 12-bit wide. It can represent maximum three BCD digits. The implicit number of thousands
place is 2. Therefore, it can represent years from 400*n to 400*n + 999 (n = 0, 1, 2, 3, 4, 5, ... ).
4-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents