Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO データシート
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
製品コード
ATSAM4E-XPRO
1041
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
is triggered. The comparison x update period CUPR itself can be updated while the channel 0 is enabled by using
the PWM_CMPMUPDx register.
the PWM_CMPMUPDx register.
CAUTION: The write of PWM_CMPVUPDx must be followed by a write of 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
masked. These interrupts can be enabled by the
and disabled by the
. The comparison match interrupt and the comparison update interrupt are reset by
reading the
Figure 40-17. Comparison Waveform
40.6.4 PWM Event Lines
The PWM provides 2 independent event lines intended to trigger actions in other peripherals (i.e. for the Analog-to-
Digital Converter (ADC )).
Digital Converter (ADC )).
A pulse (one cycle of the peripheral clock) is generated on an event line, when at least one of the selected
comparisons is matching. The comparisons can be selected or unselected independently by the CSEL bits in the
comparisons is matching. The comparisons can be selected or unselected independently by the CSEL bits in the
(PWM_ELMRx for the Event Line x).
CCNT0
CVUPD
0x6
0x2
CVMVUPD
CV
0x6
0x2
0x6
0x6
CVM
Comparison Update
CMPU
CTRUPD
0x1
0x2
CPR
0x1
0x3
0x0
0x1
0x0
0x1
0x0
0x1
0x2
0x3
0x0
0x1
0x2
0x3
CPRCNT
0x0
0x1
0x2
0x3
0x0
0x1
0x2
0x0
0x1
0x2
0x0
0x1
CUPRCNT
CPRUPD
0x1
0x3
CUPRUPD
0x3
0x2
CTR
0x1
0x2
CUPR
0x3
0x2
Comparison Match
CMPM