Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
678
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
Table 30-8. Enhanced Resolution
z
Bits 4:2 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bit 1 – ENABLE: Enable
0: The peripheral is disabled.
1: The peripheral is enabled.
Due to synchronization there is delay from writing CTRLA.ENABLE until the peripheral is enabled/disabled. The 
value written to CTRLA.ENABLE will read back immediately and the ENABLE bit in the SYNCBUSY register 
(SYNCBUSY.ENABLE) will be set. SYNCBUSY.ENABLE will be cleared when the operation is complete.
z
Bit 0 – SWRST: Software Reset
0: There is no reset operation ongoing.
1: The reset operation is ongoing.
Writing a zero to this bit has no effect.
Writing a one to this bit resets all registers in the TCC, except DBGCTRL, to their initial state, and the TCC will be 
disabled.
Writing a one to CTRLA.SWRST will always take precedence; all other writes in the same write-operation will be 
discarded.
Due to synchronization there is a delay from writing CTRLA.SWRST until the reset is complete. CTRLA.SWRST 
and SYNCBUSY.SWRST will both be cleared when the reset is complete.
RESOLUTION[1:0]
Name
Description
0x0
NONE
Dithering is disabled
0x1
DITH4
Dithering is done every 16 PWM frames
0x2
DITH5
Dithering is done every 32 PWM frames
0x3
DITH6
Dithering is done every 64 PWM frames