Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Datenbogen

Produktcode
ATSAM4S-XPLD
Seite von 1125
 915
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
38.7.33 PWM Comparison x Value Update Register
Name:
PWM_CMPVUPDx
Address:
0x40020134 [0], 0x40020144 [1], 0x40020154 [2], 0x40020164 [3], 0x40020174 [4], 0x40020184 [5],
 0x40020194 [6], 0x400201A4 [7]
Access:
Write-only
This register acts as a double buffer for the CV and CVM values. This prevents an unexpected comparison x match.
Only the first 16 bits (channel counter size) of field CV
UPD
 are significant.
• CVUPD: Comparison x Value Update
Define the comparison x value to be compared with the counter of the channel 0.
• CVMUPD: Comparison x Value Mode Update
0 = The comparison x between the counter of the channel 0 and the comparison x value is performed when this counter is 
incrementing.
1 = The comparison x between the counter of the channel 0 and the comparison x value is performed when this counter is 
decrementing.
Note:
)
CAUTION: to be taken into account, the write of the register PWM_CMPVUPDx must be followed by a write of the register 
PWM_CMPMUPDx.
31
30
29
28
27
26
25
24
CVMUPD
23
22
21
20
19
18
17
16
CVUPD
15
14
13
12
11
10
9
8
CVUPD
7
6
5
4
3
2
1
0
CVUPD