ATA6613-EK Atmel, ATA6613-EK Datasheet - Page 183

no-image

ATA6613-EK

Manufacturer Part Number
ATA6613-EK
Description
BOARD DEMO LIN-MCM FOR ATA6613
Manufacturer
Atmel
Datasheets

Specifications of ATA6613-EK

Main Purpose
Interface, LIN + MCU
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATA6613
Primary Attributes
LIN-SBC (System-Basis-Chip) Transceiver, LIN 2.0, Voltage Regulator, Window Watchdog
Secondary Attributes
16 kB Flash, 4 Power Modes: Pre-Normal, Normal, Sleep, Silent, 48-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
6.15.10
6.15.10.1
9111H–AUTO–01/11
Timer/Counter Prescaler
General Timer/Counter Control Register – GTCCR
Figure 6-64. Prescaler for Timer/Counter2
The clock source for Timer/Counter2 is named clk
main system I/O clock clk
nously clocked from the TOSC1 pin. This enables use of Timer/Counter2 as a Real Time
Counter (RTC). When AS2 is set, pins TOSC1 and TOSC2 are disconnected from Port C. A
crystal can then be connected between the TOSC1 and TOSC2 pins to serve as an indepen-
dent clock source for Timer/Counter2. The Oscillator is optimized for use with a 32.768kHz
crystal. Applying an external clock source to TOSC1 is not recommended.
For Timer/Counter2, the possible prescaled selections are: clk
clk
selected. Setting the PSRASY bit in GTCCR resets the prescaler. This allows the user to oper-
ate with a predictable prescaler.
Read/Write
Initial Value
• Bit 1 – PSRASY: Prescaler Reset Timer/Counter2
T2S
When this bit is one, the Timer/Counter2 prescaler will be reset. This bit is normally
cleared immediately by hardware. If the bit is written when Timer/Counter2 is operating in
asynchronous mode, the bit will remain one until the prescaler has been reset. The bit will
not be cleared by hardware if the TSM bit is set. Refer to the description of the
TSM: Timer/Counter Synchronization Mode” on page 133
Timer/Counter Synchronization mode.
Bit
/128, clk
PSRASY
TSM
R/W
TOSC1
7
0
T2S
clk I/O
CS20
CS21
CS22
AS2
/256, and clk
R
6
0
IO
. By setting the AS2 bit in ASSR, Timer/Counter2 is asynchro-
clk
T2S
T2S
R
5
0
/1024. Additionally, clk
Clear
R
4
0
TIMER/COUNTER2 CLOCK SOURCE
Atmel ATA6612/ATA6613
0
10-BIT T/C PRESCALER
T2S
R
3
0
clk
. clk
T2
T2S
T2S
R
2
0
is by default connected to the
as well as 0 (stop) may be
T2S
PSRASY PSRSYNC GTCCR
for a description of the
R/W
/8, clk
1
0
T2S
R/W
/32, clk
0
0
“Bit 7 –
T2S
/64,
183

Related parts for ATA6613-EK