Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Ficha De Dados

Códigos do produto
ATSAM4E-XPRO
Página de 1506
1045
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
Figure 40-20. Synchronized Update of Update Period Value of Synchronous Channels
40.6.5.5   Changing the Comparison Value and the Comparison Configuration
It is possible to change the comparison values and the comparison configurations while the channel 0 is enabled
(see 
). 
To prevent unexpected comparison match, the user must use the 
(PWM_CMPVUPDx) and the 
 (PWM_CMPMUPDx) to change
respectively the comparison values and the comparison configurations while the channel 0 is still enabled. These
registers hold the new values until the end of the comparison update period (when CUPRCNT is equal to CUPR in
 (PWM_CMPMx) and the end of the current PWM period, then update the
values for the next period.
CAUTION: The write of the register PWM_CMPVUPDx must be followed by a write of the register
PWM_CMPMUPDx.
Note:
If the update registers PWM_CMPVUPDx and PWM_CMPMUPDx are written several times between two updates, 
only the last written value are taken into account.
End of PWM period and
end of update period
of synchronous channels
PWM_SCUPUPD Value
User's Writing
PWM_SCUP