Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 876
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
38.6.5.4 Changing the Synchronous Channels Update Period
It is possible to change the update period of synchronous channels while they are enabled. (See 
 and 
To prevent an unexpected update of the synchronous channels registers, the user must use the 
 (PWM_SCUPUPD) to change the update period of synchronous channels while they
are still enabled. This register holds the new value until the end of the update period of synchronous channels (when
UPRCNT is equal to UPR in 
 (PWM_SCUP)) and the end of the current
PWM period, then updates the value for the next period.
Note:
If the update register PWM_SCUPUPD is written several times between two updates, only the last written value 
is taken into account.
Note:
Changing the update period does make sense only if there is one or more synchronous channels and if the 
update method 1 or 2 is selected (UPDM = 1 or 2 in 
Figure 38-18.Synchronized Update of Update Period Value of Synchronous Channels
End of PWM period and
end of Update Period
of Synchronous Channels
PWM_SCUPUPD Value
User s Writing
PWM_SCUP