40.7.1 Control A

Table 40-8. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: CTRLA
Offset: 0x00
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
 CPTEN[7:0] 
Access  
Reset 00000000 
Bit 2322212019181716 
 DMAOS      FCYCLE 
Access  
Reset 00 
Bit 15141312111098 
 MSYNCALOCKPRESCSYNC[1:0]RUNSTDBYPRESCALER[2:0] 
Access  
Reset 00000000 
Bit 76543210 
  RESOLUTION[1:0]   ENABLESWRST 
Access  
Reset 0000 

Bits 31:24 – CPTEN[7:0] Capture Channel x Enable

Bit 23 – DMAOS DMA One-shot Trigger Mode

Bit 16 – FCYCLE Full Cycle

Bit 15 – MSYNC Master Synchronization (only for TCC Slave Instance)

Bit 14 – ALOCK Auto Lock

Bits 13:12 – PRESCSYNC[1:0] Prescaler and Counter Synchronization Selection

ValueNameDescription
0GCLKReload or reset counter on next GCLK
1PRESCReload or reset counter on next prescaler clock
2RESYNCReload or reset counter on next GCLK and reset prescaler counter

Bit 11 – RUNSTDBY Run in Standby

Bits 10:8 – PRESCALER[2:0] Prescaler

ValueNameDescription
0DIV1No division
1DIV2Divide by 2
2DIV4Divide by 4
3DIV8Divide by 8
4DIV16Divide by 16
5DIV64Divide by 64
6DIV256Divide by 256
7DIV1024Divide by 1024

Bits 6:5 – RESOLUTION[1:0] Enhanced Resolution

ValueNameDescription
0NONEDithering is disabled
1DITH4Dithering is done every 16 PWM frames
2DITH5Dithering is done every 32 PWM frames
3DITH6Dithering is done every 64 PWM frames

Bit 1 – ENABLE Enable

Bit 0 – SWRST Software Reset