AT89LP828-AU Atmel, AT89LP828-AU Datasheet - Page 48

no-image

AT89LP828-AU

Manufacturer Part Number
AT89LP828-AU
Description
8-bit Microcontrollers - MCU Single-Cycle 8051 8K ISP Flash, 2.4-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP828-AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
8051
Data Bus Width
8 bit
11.5.1
11.5.2
48
AT89LP428/828
Mode 0 – 8-bit PWM with 8-bit Logarithmic Prescaler
Mode 1 – 8-bit PWM with 8-bit Linear Prescaler
In Mode 0, TLx acts as a logarithmic prescaler driving 8-bit counter THx (see
PSCx bits in TCONB control the prescaler value. On THx overflow, the duty cycle value in RHx
is transferred to OCRx and the output pin is set high. When the count in THx matches OCRx, the
output pin is cleared low. The following formulas give the output frequency and duty cycle for
Timer 0 in PWM mode 0. Timer 1 in PWM mode 0 is identical to Timer 0.
Figure 11-6. Timer/Counter 1 PWM Mode 0
In Mode 1, TLx provides linear prescaling with an 8-bit auto-reload from RLx (see
page
THx overflow, the duty cycle value in RHx is transferred to OCRx and the output pin is set high.
When the count in THx matches OCRx, the output pin is cleared low. The following formulas
give the output frequency and duty cycle for Timer 0 in PWM mode 1. Timer 1 in PWM mode 1 is
identical to Timer 0.
INT1 Pin
49). On TLx overflow, TLx is loaded with the value of RLx. THx acts as an 8-bit counter. On
GATE
OSC
TR1
Mode 0:
Mode 1:
÷TPS
Control
f
f
OUT
OUT
=
=
Duty Cycle %
Duty Cycle %
Oscillator Frequency
------------------------------------------------------ -
Oscillator Frequency
------------------------------------------------------ -
PSC1
256
256
×
(8 Bits)
×
(
TL1
256 RL0
2
PSC0
=
=
100
100
+
1
(8 Bits)
(8 Bits)
OCR1
)
RH1
TH1
×
×
×
RH0
----------- -
×
RH0
----------- -
256
256
-------------------- -
TPS
-------------------- -
TPS
=
1
1
+
+
1
1
Figure
3654A–MICRO–8/09
Figure 11-7 on
11-6). The
T1

Related parts for AT89LP828-AU