SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1006

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
Figure 38-15. Comparison Waveform
1006
1006
Comparison Update
Comparison Match
SAM3X/A
SAM3X/A
CVMVUPD
CUPRUPD
CUPRCNT
CPRUPD
CTRUPD
CPRCNT
CVUPD
CCNT0
CMPM
CMPU
CUPR
CVM
CPR
CTR
CV
0x6
0x1
0x1
0x3
0x6
0x1
0x1
0x3
0x0
0x0
The update of the comparison x configuration and the comparison x value is triggered periodi-
cally after the comparison x update period. It is defined by the field CUPR in the PWM_CMPMx.
The comparison unit has an update period counter independent from the period counter to trig-
ger this update. When the value of the comparison update period counter CUPRCNT (in
PWM_CMPMx) reaches the value defined by CUPR, the update is triggered. The comparison x
update period CUPR itself can be updated while the channel 0 is enabled by using the
PWM_CMPMUPDx register.
CAUTION: to be taken into account, the write of the register PWM_CMPVUPDx must be fol-
lowed by a write of the register PWM_CMPMUPDx.
The comparison match and the comparison update can be source of an interrupt, but only if it is
enabled and not masked. These interrupts can be enabled by the
ter 2”
and the comparison update interrupt are reset by reading the
and disabled by the
0x1
0x1
0x2
0x2
0x0
0x2
0x3
0x2
0x3
0x1
“PWM Interrupt Disable Register 2”
0x2
0x2
0x2
0x0
0x0
0x3
0x1
0x1
0x2
0x2
0x0
0x3
0x6
0x1
0x0
“PWM Interrupt Status Register 2”
. The comparison match interrupt
0x2
0x1
“PWM Interrupt Enable Regis-
0x6
0x0
0x2
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
0x1
0x3

Related parts for SAM3X8E