RTC Date Read

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Block References > On-chip Peripherals > RTC >

RTC Date Read

Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?

rtc_date_read_block

rtc_date_read_mask

Configuration item

Selectable option/ Value

Description

Format

BIN | BCD

Specify output ports is binary or BCD format.

Sample time(sec)

-1 (Inherited) or specify

Sample time for block

Output port

Name

Description

Day

Week day, valid value is 1 to 7.

1 is Monday, 2 is Tuesday and so on.

Date

Valid value is 1 to 31, 1 to 30, 1 to 28 or 1 to 29 depend on Month and Year.

Month

Month, valid value is 1 to 12.

Year

Year, Valid value is 0 to 99. This Year number is offset from Year 2000.

Demos

Date/ Time display

Date and Time configuration demo