Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Fiche De Données

Codes de produits
ATSAM4E-XPRO
Page de 1506
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
1090
40.7.40 PWM Channel Mode Register
Name:
PWM_CMRx [x=0..3]
Address:
0x40000200 [0], 0x40000220 [1], 0x40000240 [2], 0x40000260 [3]
Access:
Read/Write
This register can only be written if bits WPSWS2 and WPHWS2 are cleared in the 
.
CPRE: Channel Pre-scaler
CALG: Channel Alignment
0: The period is left-aligned.
1: The period is center-aligned.
CPOL: Channel Polarity
0: The OCx output waveform (output from the comparator) starts at a low level.
1: The OCx output waveform (output from the comparator) starts at a high level.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DTLI
DTHI
DTE
15
14
13
12
11
10
9
8
UPDS
CES
CPOL
CALG
7
6
5
4
3
2
1
0
CPRE
Value
Name
Description
0b0000
MCK
Peripheral clock
0b0001
MCK_DIV_2
Peripheral clock/2
0b0010
MCK_DIV_4
Peripheral clock/4
0b0011
MCK_DIV_8
Peripheral clock/8
0b0100
MCK_DIV_16
Peripheral clock/16
0b0101
MCK_DIV_32
Peripheral clock/32
0b0110
MCK_DIV_64
Peripheral clock/64
0b0111
MCK_DIV_128
Peripheral clock/128
0b1000
MCK_DIV_256
Peripheral clock/256
0b1001
MCK_DIV_512
Peripheral clock/512
0b1010
MCK_DIV_1024
Peripheral clock/1024
0b1011
CLKA
Clock A
0b1100
CLKB
Clock B