44.6.9 Synchronization
Due to asynchronicity between the main clock domain and the peripheral clock domains, some registers need to be synchronized when written or read.
An exception is the Channel Enable bit in the Peripheral Channel Control registers (PCHCTRLm.CHEN). When changing this bit, the bit value must be read-back to ensure the synchronization is complete and to assert glitch free internal operation. Note that changing the bit value under ongoing synchronization will not generate an error.
The following bits are synchronized when written:
- The Software Reset bit in the Control register (CTRLA.SWRST)
- The Enable bit in the Control register (CTRLA.ENABLE)
The following registers are synchronized when written:
- The DAC0 data register (DATA0)
- The DAC1 data register (DATA1)
- The DAC0 data buffer register (DATABUF0)
- The DAC1 data buffer register (DATABUF1)
Required write-synchronization is denoted by the "Write-Synchronized" property in the register description.