参数资料
型号: KEYMATEK
厂商: Silicon Laboratories Inc
文件页数: 151/250页
文件大小: 0K
描述: BOARD EVAL ITO FILM F800
标准包装: 1
系列: QuickSense™
传感器类型: 触摸,电容式
传感范围: 13 个按钮/键
接口: USB
嵌入式: 是,MCU,8 位
已供物品: 板,线缆
已用 IC / 零件: C8051F800
产品目录页面: 626 (CN2011-ZH PDF)
其它名称: 336-1818
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页当前第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页
C8051F80x-83x
234
Rev. 1.0
29.3.5.2. 9-bit through 15-bit Pulse Width Modulator Mode
The duty cycle of the PWM output signal in N-bit PWM mode (N=9 through 15) should be varied by writing
to an “Auto-Reload” Register, which is dual-mapped into the PCA0CPHn and PCA0CPLn register loca-
tions. The data written to define the duty cycle should be right-justified in the registers. The auto-reload
registers are accessed (read or written) when the bit ARSEL in PCA0PWM is set to 1. The capture/com-
pare registers are accessed when ARSEL is set to 0.
When the least-significant N bits of the PCA0 counter match the value in the associated module’s cap-
ture/compare register (PCA0CPn), the output on CEXn is asserted high. When the counter overflows from
the Nth bit, CEXn is asserted low (see Figure 29.9). Upon an overflow from the Nth bit, the COVF flag is
set, and the value stored in the module’s auto-reload register is loaded into the capture/compare register.
The value of N is determined by the CLSEL bits in register PCA0PWM. This synchronous update feature
allows software to asynchronously write a new PWM high time, which will then take effect on the following
PWM period.
The 9, 10, 11, 12, 13, 14, or 15-bit PWM mode is selected by setting the ECOMn and PWMn bits in the
PCA0CPMn register, and setting the CLSEL bits in register PCA0PWM to the desired cycle length (other
than 8-bits). If the MATn bit is set to 1, the CCFn flag for the module will be set each time a comparator
match (rising edge) occurs. The COVF flag in PCA0PWM can be used to detect the overflow (falling edge),
which will occur every 512 (9-bit), 1024 (10-bit), 2048 (11-bit), 4096 (12-bit), 8192 (13-bit), 16384 (14-bit),
or 32768 (15-bit) PCA clock cycles. The duty cycle for n-Bit PWM Mode (n=9 through 15) is given in
Equation 29.2, where N is the number of bits in the PWM cycle. A 0% duty cycle may be generated by
clearing the ECOMn bit to 0.
Important Note About PCA0CPHn and PCA0CPLn Registers: When writing a 16-bit value to the
PCA0CPn registers, the low byte should always be written first. Writing to PCA0CPLn clears the ECOMn
bit to 0; writing to PCA0CPHn sets ECOMn to 1.
Equation 29.3. N-Bit PWM Duty Cycle (N=9 through 15)
Figure 29.9. PCA 9-bit through 15-Bit PWM Mode Diagram
Duty Cycle
2N
PCA0CPn
2N
--------------------------------------------
=
N-bit Comparator
PCA0H:L
(Capture/Compare)
PCA0CPH:Ln
(right-justified)
(Auto-Reload)
PCA0CPH:Ln
(right-justified)
CEXn
Crossbar
Port I/O
Enable
Overflow of N
th Bit
PCA Timebase
00 x 0
x
Q
SET
CLR
S
R
PCA0CPMn
P
W
M
1
6
n
E
C
O
M
n
E
C
F
n
T
O
G
n
P
W
M
n
C
A
P
n
C
A
P
N
n
M
A
T
n
0
ENB
0
1
Write to
PCA0CPLn
Write to
PCA0CPHn
Reset
R/W when
ARSEL = 1
R/W when
ARSEL = 0
PCA0PWM
A
R
S
E
L
E
C
O
V
C
L
S
E
L
0
C
L
S
E
L
2
C
L
S
E
L
1
C
O
V
F
E
A
R
1
6
x
Set “N” bits:
001 = 9 bits
010 = 10 bits
011 = 11 bits
100 = 12 bits
101 = 13 bits
110 = 14 bits
111 = 15 bits
x
Match
相关PDF资料
PDF描述
GEC22DRXI CONN EDGECARD 44POS DIP .100 SLD
RN-0512S CONV DC/DC 1.25W 05VIN 12VOUT
GBC15DRTS CONN EDGECARD 30POS DIP .100 SLD
GCC08DREI CONN EDGECARD 16POS .100 EYELET
GBC10DRAN CONN EDGECARD 20POS R/A .100 SLD
相关代理商/技术参数
参数描述
KEYPAD-HOA-BLK 制造商:Eaton Corporation 功能描述:KEYPAD, HAND/OFF/AUTO
KEY-RING LED 制造商:Energizer Battery Company 功能描述:
KEYRINGS 制造商:KEY SECURE 功能描述:KEY RING PK10 制造商:KEY SECURE 功能描述:KEY RING, PK10 制造商:KEY SECURE 功能描述:KEY RING, PK10, SVHC:No SVHC (20-Jun-2013)
KEYS 制造商:KEY SECURE 功能描述:SPARE KEYS FOR KEYSECURE RANGE
KEY-START-ALT 制造商:TE Connectivity 功能描述:GEN-SET CONTROLLER KEY START OPTION