at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 155

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
14.6.1
14.7
14.8
7734M–AVR–03/10
Enhanced resolution
PSCR Inputs
Value Update Synchronization
Figure 14-7.
The software can stop the cycle before the end to update the values and restart a new PSCR cycle.
New timing values or PSCR output configuration can be written during the PSCR cycle. Thanks to LOCK
and AUTOLOCK configuration bits, the new whole set of values can be taken into account with the fol-
lowing conditions:
The registers which update is synchronized thanks to LOCK and AUTOLOCK are OCRrSAH/L, OCR-
rRAH/L, OCRrSBH/L, OCRrRBH/L and PSOCr. PISELrA1 and PISELrB1 bits of PSOCr are
immediatly updated in order to behave as PISELrA0 and PISELrB0.
See these register’s description starting on
When set, AUTOLOCK configuration bit prevails over LOCK configuration bit.
See “PSCR Configuration Register – PCNF0” on page 173.
The PSCR includes the same resolution enhancement as in PSC. Please see Section “Enhanced Resolu-
tion”, page 110 for the description of this feature.
Each part A or B of PSCR has its own system to take into account one PSCR input. According to PSCR
Input A/B Control Register (see description
Fault input.
This system A or B is also configured by this PSCR Input A/B Control Register (PFRCrA/B).
Software
PSC
• When AUTOLOCK configuration is selected, the update of the PSCR internal registers will be done at
• When LOCK configuration bit is set, there is no update. The update of the PSCR internal registers will
the end of the PSCR cycle following a write in the Output Compare Register RB. The AUTOLOCK
configuration bit is taken into account at the end of the first PSCR cycle.
be done at the end of the PSCR cycle if the LOCK bit is released to zero.
Regulation Loop
Calculation
Cycle
With Set i
Update at the end of complete PSCR cycle.
Cycle
With Set i
Cycle
With Set i
Writting in
PSC Registers
page
14.23.8page
Cycle
With Set i
172.
End of Cycle
Request for
an Update
175), PSCrIN0/1 input can act has a Retrigger or
Cycle
With Set j
AT90PWM81
155

Related parts for at90pwm81-16se