Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Fiche De Données

Codes de produits
ATSAMD21-XPRO
Page de 1018
518
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
27.6.6 Synchronization
Due to the asynchronicity between CLK_SERCOMx_APB and GCLK_SERCOMx_CORE, some registers must be 
synchronized when accessed. A register can require:
z
Synchronization when written
z
Synchronization when read
z
Synchronization when written and read
z
No synchronization
When executing an operation that requires synchronization, the corresponding Synchronization Busy bit in the 
Synchronization Busy register (SYNCBUSY) will be set immediately, and cleared when synchronization is complete. 
If an operation that requires synchronization is executed while the corresponding SYNCBUSY bit is one, a peripheral bus 
error is generated.
The following bits need synchronization when written:
z
Software Reset bit in the Control A register (CTRLA.SWRST). SYNCBUSY.SWRST is set to one while 
synchronization is in progress.
z
Enable bit in the Control A register (CTRLA.ENABLE). SYNCBUSY.ENABLE is set to one while 
synchronization is in progress.
z
Write to Bus State bits in the Status register (STATUS.BUSSTATE). SYNCBUSY.SYSOP is set to one while 
synchronization is in progress.
z
Address bits in the Address register (ADDR.ADDR) when in master operation. SYNCBUSY.SYSOP is set to 
one while synchronization is in progress.
z
Data (DATA) when in master operation. SYNCBUSY.SYSOP is set to one while synchronization is in 
progress.
Write-synchronization is denoted by the Write-Synchronized property in the register description.