Datasheet

Table Of Contents
ADuC7060/ADuC7061 Data Sheet
Rev. D | Page 70 of 108
PRESCALER
1, 16, 256, OR 32,768
TIMER1 IRQ
32-BIT
UP/DOWN COUNTER
32.768kHz OSCILLATOR
CORE CLOCK
FREQUENCY/CD
CORE
CLOCK
EXTERNAL 32.768kHz
WATCH CRYSTAL
32-BIT LOAD
TIMER1
VALUE
07079-018
Figure 24. Timer1 Block Diagram
Timer1 Control Register
Name: T1CON
Address: 0xFFFF0348
Default value: 0x0000
Access: Read and write
Function: This 16-bit MMR configures the mode of operation of Timer1.
Table 81. T1CON MMR Bit Designations
Bit Name Description
15:11 Reserved.
10: 9 T1CLKSEL Clock source select.
[00] = 32.768 kHz oscillator.
[01] = 10.24 MHz/CD.
[10] = XTALI.
[11] = 10.24 MHz.
8 T1DIR Count up.
Set by user for Timer1 to count up.
Cleared by user for Timer1 to count down (default).
7 T1EN Timer1 enable bit.
Set by user to enable Timer1.
Cleared by user to disable Timer1 (default).
6 T1MOD Timer1 mode.
Set by user to operate in periodic mode.
Cleared by user to operate in free running mode (default).
5:4 T1FORMAT Format.
[00] = binary (default).
[01] = reserved.
[10] = hours:minutes:seconds:hundredths (23 hours to 0 hours). This is only valid with a 32 kHz clock.
[11] = hours:minutes:seconds:hundredths (255 hours to 0 hours). This is only valid with a 32 kHz clock.
3:0 T1SCALE Prescaler.
[0000] = source clock/1 (default).
[0100] = source clock/16.
[1000] = source clock/256. This setting should be used in conjunction with Timer1 in the format
hours:minutes:seconds:hundredths. See Format 10 and Format 11 listed with Bits[5:4] in this table (Table 81).
[1111] = source clock/32,768.