![Atmel SAM4S Series Скачать руководство пользователя страница 925](http://html1.mh-extra.com/html/atmel/sam4s-series/sam4s-series_preliminary-data-sheet_3003408925.webp)
925
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
Figure 37-13. Method 3 (UPDM=2 and PTRM=1 and PTRCS=0)
37.6.3
PWM Comparison Units
The PWM provides 8
independent comparison units able to compare a programmed value with
the current value of the channel 0 counter (which is the channel counter of all synchronous
channels,
Section 37.6.2.7 “Synchronous Channels”
). These comparisons are intended to gen-
erate pulses on the event lines (used to synchronize ADC, see
), to generate software interrupts and to trigger PDC transfer requests for the synchronous
channels (see
“Method 3: Automatic write of duty-cycle values and automatic trigger of the
Figure 37-14. Comparison Unit Block Diagram
CCNT0
CDTYUPD
0x20
0x40
0x60
UPRCNT
0x0
0x1
0x0
0x1
0x0
0x1
CDTY
UPRUPD
0x1
0x3
CMP0 match
transfer request
WRDY
0x0
0x1
0x2
0x3
0x0
0x1
0x2
UPR
0x1
0x3
0x80
0xA0
0xB0
0x20
0x40
0x60
0x80
0xA0
=
fault on channel 0
CNT [PWM_CCNT0]
CNT [PWM_CCNT0]
is decrementing
CALG [PWM_CMR0]
CV [PWM_CMPVx]
=
1
0
1
Comparison x
CVM [PWM_CMPVx]
=
CPRCNT [PWM_CMPMx]
CTR [PWM_CMPMx]
CEN [PWM_CMPM]x
Содержание SAM4S Series
Страница 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1142: ...1142 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 3 100 ball VFBGA Package Drawing ...
Страница 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Страница 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...