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.

15.5 Operational description<br />

(1) Reading clock data<br />

1. Using 1Hz interrupt<br />

Under development<br />

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

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

The count-up of the internal data synchronizes with 1Hz interrupt. Data can be read<br />

correctly if reading data after 1Hz interrupt occurred.<br />

2. Using pair reading<br />

There is a possibility that the clock data may be read incorrectly if the internal counter<br />

operates carry during reading. To ensure correct data reading, read the clock data twice<br />

as shown below. A pair of data read successively needs to match.<br />

Start<br />

PAGER = “0”, then<br />

select PAGE0<br />

Clock data reading<br />

(1st)<br />

Clock data reading<br />

(2nd)<br />

1 st data = 2 nd data<br />

End<br />

YES<br />

NO<br />

Fig. 15-2 Flowchart of the clock data reading<br />

Real Time Clock

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

Saved successfully!

Ooh no, something went wrong!