English
Language : 

ADUC7032-8L_15 Datasheet, PDF (74/120 Pages) Analog Devices – Integrated Precision Battery Sensor for Automotive System
ADuC7032-8L
Timer1 Capture Register
Name: T1CAP
Address: 0xFFFF0330
Default Value: 0x00000000
Access: Read/write
Function: This 32-bit register holds the 32-bit value captured
by an enabled IRQ event.
Timer1 Control Register
Name: T1CON
Address: 0xFFFF0328
Default Value: 0x01000000
Access: Read/write
Function: This 32-bit MMR configures the mode of operation
of Timer1.
Table 55. T1CON MMR Bit Designations
Bit
Description
31 to 24
Timer1 8-Bit Postscalar.
By writing to these 8 bits, a value is loaded into the postscalar. Writing 0 to these bits is interpreted as a 1.
By reading these 8 bits, the current value of the counter is loaded.
23
Timer1 Enable Postscalar.
Set to enable Timer1 postscalar. If enabled, an interrupt is generated after T1CON[31:24] periods, as defined by T1LD.
Cleared to disable Timer1 postscalar.
22 to 20 Reserved. This bit is reserved and should be written as 0 by user code.
19
Postscalar Compare Flag.
Set if the number of Timer1 overflows is equal to the number written to the postscalar.
18
Timer1 Interrupt Source.
Set to select interrupt generation from postscalar counter.
Cleared to select interrupt generation direct from Timer1.
17
Event Select Bit.
Set by user to enable time capture of an event.
Cleared by user to disable time capture of an event.
16 to 12 Event Select Range, 0 to 31. The events are described in Table 53.
11 to 9 Clock Select.
000 = core clock (default).
001 = low power 32.768 kHz oscillator.
010 = GPIO_8.
011 = GPIO_5.
8
Count Up.
Set by user for Timer1 to count up.
Cleared by user for Timer1 to count down (default).
7
Timer1 Enable Bit.
Set by user to enable Timer1.
Cleared by user to disable Timer1 (default).
6
Timer1 Mode.
Set by user to operate in periodic mode.
Cleared by user to operate in free-running mode (default).
5 to 4 Format.
00 = binary (default).
01 = reserved.
10 = hours:minutes:seconds:hundredths—23 hours to 0 hour.
11 = hours:minutes:seconds:hundredths—255 hours to 0 hour.
3 to 0 Prescalar.
0000 = source clock/1 (default).
0100 = source clock/16.
1000 = source clock/256.
1111 = source clock/32,768.
Rev. A | Page 74 of 120