One-Second Interrupt Flag And Outputs; Register Map; Register Definitions; Tod Registers - Freescale Semiconductor 56F800 User Manual

16-bit digital signal controllers
Hide thumbs Also See for 56F800:
Table of Contents

Advertisement

13.5.4 One-Second Interrupt Flag and Outputs

The one-second interrupt feature provides a means of detecting the passage of one-second time
intervals. The one-second interrupt is triggered and the Seconds Interrupt occurred Flag
(TODSID) in the status control register is set on the rising edge of the 1Hz clock. The 1Hz clock
is derived out of the prescaler. This clock only operates while the TOD Enable (TODEN) is set.
The scaler remains in its prior state while the TOD module is disabled, essentially freezing the
passage of time.
For the 56F826, The TODSID bit is cleared by writing a zero to it while it contains a one.
For the 56F827, the TODSID bit is cleared by writing a one to it.
This interrupt will function in the Stop mode; however, the TOD module must be configured and
enabled prior to entering the Stop mode.
The one-second interrupt output is used to signal a one-second interrupt to the interrupt
controller. The interrupt will not be taken unless it is also enabled in the interrupt controller
module

13.6 Register Map

Register
Register
Address
Name
Base + 0
TODCS
Base + 1
TODCSL
Base + 2
TODSEC
Base + 3
TODSAL
Base + 4
TODMIN
Base + 5
TODMAL
Base + 6
TODHR
Base + 7
TODHAL
Base + 8
TODDAY
Base + 9
TODDAL

13.7 Register Definitions

Freescale Semiconductor
Table 13-1. TOD Registers
Register Function
Control/Status Register
Clock Scaler Load Register
Seconds Counter Register
Seconds Alarm Register
Minutes Counter Register
Minutes Alarm Register
Hours Counter Register
Hours Alarm Register
Days Counter
Days Alarm
Table 13-2. TOD Memory Map
Device
Peripheral
826/827
TOD_BASE
Time-of-Day (TOD), Rev. 3
Decimal
When Write
Range
Enabled
N/C
Always
0-65535
TODEN=0
0-59
TODEN=0
0-59
Always
0-59
TODEN=0
0-59
Always
0-23
TODEN=0
0-23
Always
0-65535
TODEN=0
0-65535
Always
Address
$10C0
Register Definitions
POR Value
0
0
0
0
0
0
0
0
0
0
7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 56F800 and is the answer not in the manual?

Table of Contents