AT89LP828 Atmel Corporation, AT89LP828 Datasheet - Page 54

no-image

AT89LP828

Manufacturer Part Number
AT89LP828
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP828

Flash (kbytes)
8 Kbytes
Max. Operating Frequency
25 MHz
Cpu
8051-1C
Max I/o Pins
30
Spi
1
Uart
1
Sram (kbytes)
0.75
Eeprom (bytes)
1024
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 5.5
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
360
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20MH
Manufacturer:
Atmel
Quantity:
720
Part Number:
AT89LP828-20PU
Manufacturer:
NXP
Quantity:
3 942
Part Number:
AT89LP828-JU
Manufacturer:
Atmel
Quantity:
10 000
Table 12-4.
54
T2MOD Address = 0C9H
Not Bit Addressable
Symbol
PHSD
PHS
[2 - 0]
T2CM
[1 - 0]
T2OE
DCEN
Bit
AT89LP428/828
PHSD
Function
CCA Phase Direction. For phase modes with 3 or 4 channels, PHSD determines the direction that the channels are cycled
through. PHSD also determines the initial phase relationship for 2 phase modes.
PHSD
0
1
CCA Phase Mode. PWM channels may be grouped by 2, 3 or 4 such that only one channel in a group produces a pulse in
any one period. The PHS [2 - 0] bits may only be written when the timer is not active, i.e. TR2 = 0.
Timer 2 Count Mode.
Timer 2 Output Enable. When T2OE = 1 and C/T2 = 0, the T2 pin will toggle after every Timer 2 overflow.
Timer 2 Down Count Enable. When Timer 2 operates in Auto-reload mode and EXEN2 = 1, setting DCEN = 1 will cause
Timer 2 to count up or down depending on the state of T2EX.
T2CM1
PHS2
7
T2MOD – Timer 2 Mode Control Register
0
0
0
0
1
1
1
1
0
0
1
1
Direction
T2CM0
PHS1
A
B
0
0
1
1
0
0
1
1
0
1
0
1
PHS2
→ → →
→ → →
B
A
6
A
B
Count Mode
Standard Timer 2 (up count:
Clear on RCAP compare (up count:
Dual-slope with single update (up-down count:
Dual-slope with double update (up-down count:
PHS0
B
A
0
1
0
1
0
1
0
1
or
or
PHS1
5
A
C
Phase Mode
Disabled, all channels active
2-phase output on channels A & B
3-phase output on channels A, B & C
4-phase output on channels A, B, C & D
Dual 2-phase output on channels A & B and C & D
reserved
reserved
reserved
→ → → → →
→ → → → →
B
B
C
A
PHS0
A
C
4
B
B
BOTTOM
C
A
T2CM1
or
or
MIN
3
MAX
A
D
TOP
→ → → → → → →
→ → → → → → →
B
C
)
MIN
)
MIN
C
B
T2CM0
2
D
A
TOP
TOP
A
D
B
MIN
C
MIN
Reset Value = 0000 0000B
T2OE
C
B
1
)
)
D
A
DCEN
0
3654A–MICRO–8/09

Related parts for AT89LP828