23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PAGER<br />

A<br />

read-modify-<br />

write<br />

operation<br />

cannot be<br />

performed.<br />

RESTR<br />

A read-modify-<br />

write<br />

operation<br />

cannot be<br />

performed.<br />

(10) PAGE register (for PAGE0/1)<br />

Under development<br />

7 6 5 4 3 2 1 0<br />

<strong>TMPM330</strong> (rev0.4) 15-9<br />

<strong>TMPM330</strong><br />

Bit symbol INTENA ― ADJUST ENATMR ENAALM ― PAGE<br />

Read/Write R/W R W R/W R R/W<br />

After reset 0 0 Undefined Undefined 0 Undefined<br />

Function INTRTC<br />

0: Don’t care Clock ALARM<br />

0: Disabled<br />

1: Adjust 0: Disabled 0: Disabled “0” is read. PAGE<br />

1: Enabled “0” is read.<br />

1: Enabled 1: Enabled<br />

selection<br />

(Note) Keep the setting order of , and as shown in<br />

the example below. Ensure an interval of time between Clock/Alarm and<br />

interrupt.<br />

Example: Clock setting/Alarm setting<br />

7 6 5 4 3 2 1 0<br />

PAGER ← 0 0 0 0 1 1 0 0 Enables Clock and alarm<br />

PAGER ← 1 0 0 0 1 1 0 0 Enables interrupt<br />

(11) Reset register (for PAGE0/1)<br />

PAGE<br />

ADJUST<br />

0 Selects Page0<br />

1 Selects Page1<br />

0 Don’t care<br />

1 Adjusts sec. counter by setting this bit to “1”.<br />

If it is set when the time elapsed is within 0 and<br />

29, the sec. counter is cleared to “0”. If the<br />

time elapsed is within 30 and 59, the min.<br />

counter is carried and sec. counter is cleared<br />

to "0". The ADJUST signal is output during 1<br />

cycle of fSYS. After being adjusted once, the<br />

ADJUST state is released automatically<br />

(PAGE0 only).<br />

7 6 5 4 3 2 1 0<br />

Bit symbol DIS1HZ DIS16HZ RSTTMR RSTALM −<br />

Read/Write W<br />

After reset Undefined<br />

Function 1 Hz 16 Hz 1: Clock 1: Alarm<br />

0: Enabled 0: Enabled<br />

1: Disabled 1:<br />

Disabled<br />

reset reset<br />

Always write “0”.<br />

RSTALM<br />

RSTTMR<br />

0 Unused<br />

1 Reset alarm register.<br />

0 Unused<br />

1 Reset clock register.<br />

PAGER Interrupt source signal<br />

1 1 1 Alarm<br />

0 1 0 1Hz<br />

1 0 0 16Hz<br />

Others Outputs “0”.<br />

Real Time Clock

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!