ADUC845BCP8-5 Analog Devices, ADUC845BCP8-5 Datasheet - Page 72
ADUC845BCP8-5
Manufacturer Part Number
ADUC845BCP8-5
Description
MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
Manufacturer
Analog Devices
Datasheet
1.ADUC845BCP8-5.pdf
(108 pages)
- Current page: 72 of 108
- Download datasheet (2Mb)
ADuC845/ADuC847/ADuC848
INTVAL—User Timer Interval Select Register
Function:
SFR Address:
Power-On Default:
Bit Addressable:
Valid Value:
HTHSEC—Hundredths of Seconds Time Register
Function:
SFR Address:
Power-On Default:
Bit Addressable:
Valid Value:
SEC—Seconds Time Register
Function:
SFR Address:
Power-On Default:
Bit Addressable:
Valid Value:
MIN—Minutes Time Register
Function
SFR Address:
Power-On Default:
Bit Addressable:
Valid Value:
HOUR—Hours Time Register
Function:
SFR Address:
Power-On Default:
Bit Addressable:
Valid Value:
To enable the TIC as a real-time clock, the HOUR, MIN, SEC, and HTHSEC registers can be loaded with the current time. Once the
TCEN bit is high, the TIC starts. To use the TIC as a time interval counter, select the count interval—hundredths of seconds, seconds,
minutes, and hours via the ITS0 and ITS1 bits in the TIMECON SFR. Load the count required into the INTVAL SFR.
Note that INTVAL is only an 8-bit register, so user software must take into account any intervals longer than are possible with 8 bits.
Therefore, to count an interval of 20 seconds, use the following procedure:
MOV TIMECON, #0D0H ;Enable 24Hour mode, count seconds, Clear TCEN.
MOV INTVAL,
MOV TIMECON, #0D3H ;Start TIC counting and enable the 8bit INTVAL counter.
#14H
User code writes the required time interval to this register. When the 8-bit interval counter is equal to the time interval
value loaded in the INTVAL SFR, the TII bit (TIMECON.2) is set and generates an interrupt, if enabled.
A6H
00H
No
0 to 255 decimal
This register is incremented in 1/128-second intervals once TCEN in TIMECON is active. The HTHSEC SFR counts
from 0 to 127 before rolling over to increment the SEC time register.
A2H
00H
No
0 to 127 decimal
This register is incremented in 1-second intervals once TCEN in TIMECON is active. The SEC SFR counts from 0 to 59
before rolling over to increment the MIN time register.
A3H
00H
No
0 to 59 decimal
This register is incremented in 1-minute intervals once TCEN in TIMECON is active. The MIN SFR counts from 0 to 59
before rolling over to increment the HOUR time register.
A4H
00H
No
0 to 59 decimal
This register is incremented in 1-hour intervals once TCEN in TIMECON is active. The HOUR SFR counts from 0 to 23
before rolling over to 0.
A5H
00H
No
0 to 23 decimal
;Load INTVAL with required count interval...in this case 14H = 20
Rev. A | Page 72 of 108
Related parts for ADUC845BCP8-5
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Analog Devices -
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Analog Devices [Wideband Dual-Channel Linear Multiplier/Divider]
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Analog Front End Converter for Set-top Box, Cable Modem, and Other Broadband Communication Applications
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Analog Signal Handling for High Speed and Accuracy,
Manufacturer:
Analog Devices
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet: