beautypg.com

4 real-time clock, 4 real-time clock - 20, 31 register map rtc m41t81 - 20 – Kontron VMP3 User Manual

Page 80: Configuration vmp3

background image

Configuration

VMP3

Page 4 - 20

© 2005 Kontron Modular Computers GmbH

ID 29230, Rev. 01

29230

.01.UG.VC.050727/091437

P R E L I M I N A R Y

4.4

Real-time Clock

Access to the real-time clock (RTC) is effected via the I2C bus. The RTC uses address 0xD0.
For more detailed information please refer to the manuals for the ST - Microelectronics M41T81
and the Motorola MPC8541E (I2C bus).

Table 4-31: Register Map RTC M41T81

ADR

(HEX)

ADDRESS BITS

FUNCTION RANGE IN BCD

FORMAT

D7

D6

D5

D4

D3

D2

D1

D0

00

0.1 Seconds

0.01 Seconds

Seconds: 00 - 99

01

ST

10 Seconds

Seconds

Seconds: 00 - 59

02

0

10 Minutes

Minutes

Minutes: 00 - 59

03

CEB

CB

10 Hours

Hours

Century:

Hours:

0 - 1

00 - 23

04

0

0

0

0

0

Day

Day: 00 - 07

05

0

0

10 Date

Date

Date: 01 - 31

06

0

0

0

10M.

Month

Month: 01 - 12

07

10 Years

Year

Year: 00 - 99

08

OUT

FT

S Calibration

Control:

09

0

BMB4

BMB3

BMB2

BMB1

BMB0

RB1

RB0

Watchdog:

0A

AFE

SQWE

ABE

Al 10M

Alarm Month

Alarm Month: 01 - 12

0B

RPT4

RPT5

Al 10 Date

Alarm Date

Alarm Date: 01 - 31

0C

RPT3

HT

Al 10 Hour

Alarm Hour

Al Hour: 00 - 23

0D

RPT2

Alarm 10 Minutes

Alarm Minutes

Al Min: 00 - 59

0E

RPT1

Alarm 10 Seconds

Alarm Seconds

Al Sec: 00 - 59

0F

WDF

AF

0

0

0

0

0

0

Flags:

10

0

0

0

0

0

0

0

0

Reserved:

11

0

0

0

0

0

0

0

0

Reserved:

12

0

0

0

0

0

0

0

0

Reserved:

13

RS3

RS2

RS1

RS0

0

0

0

0

SQW: