AT43USB320A_04 ATMEL [ATMEL Corporation], AT43USB320A_04 Datasheet - Page 40

no-image

AT43USB320A_04

Manufacturer Part Number
AT43USB320A_04
Description
Full-speed USB Microcontroller with an Embedded Hub
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
40
AT43USB320A
Timer/Counter0 Control Register – TCCR0
• Bits 7..3 – Res: Reserved Bits
These bits are reserved bits in the AT43USB320A and always read as zero.
• Bits 2, 1, 0 – CS02, CS01, CS00: Clock Select0, bit 2, 1 and 0
The Clock Select0 bits 2, 1 and 0 define the prescaling source of Timer/Counter0.
Table 12. Clock 0 Prescale Select
The Stop condition provides a Timer Enable/Disable function. The CK down divided modes
are scaled directly from the CK oscillator clock. If the external pin modes are used for
Timer/Counter0, transitions on PB0/(T0) will clock the counter even if the pin is configured as
an output. This feature can give the user SW control of the counting.
Timer/Counter0 – TCNT0
The Timer/Counter0 is realized as an up-counter with read and write access. If the
Timer/Counter0 is written and a clock source is present, the Timer/Counter0 continues count-
ing in the clock cycle following the write operation.
Read/Write
Initial Value
$33 ($53)
Initial Value
Read/Write
$32 ($52)
Bit
Bit
CS02
0
0
0
0
1
1
1
1
R
7
0
MSB
R/W
7
0
R
6
0
CS01
R/W
6
0
0
0
1
1
0
0
1
1
R
5
0
R/W
5
0
CS00
R
4
0
0
1
0
1
0
1
0
1
R/W
4
0
R
3
0
R/W
3
0
Description
Stop, the Timer/Counter0 is stopped
CK
CK/8
CK/64
CK/256
CK/1024
External Pin T0, falling edge
External Pin T0, rising edge
CS02
R/W
2
0
R/W
2
0
CS01
R/W
R/W
1
0
1
0
CS00
R/W
LSB
R/W
0
0
0
0
1443E–USB–4/04
TCCR0
TCNT0

Related parts for AT43USB320A_04