English
Language : 

MEC1322 Datasheet, PDF (288/456 Pages) Microchip Technology – Keyboard and Embedded Controller for Notebook PC
MEC1322
FIGURE 25-4:
PWM DUTY CYCLE EQUATION
PWM Duty Cycle = (---P----W-----M------C----o---u----n---t--e--P-r---WO-----nM---T--C--i--m-o---ue----n+---t--eP---r--W-O----Mn----T--C-i--m-o---u-e---n---t--e---r---O----f---f--T---i--m-----e---)
The PWMx Counter ON Time Register and PWMx Counter OFF Time Register registers should be accessed as 16-bit
values.
25.11 EC-Only Registers
The registers listed in the EC-Only Register Summary table are for a single instance of the PWM. The addresses of
each register listed in this table are defined as a relative offset to the host “Base Address” defined in the EC-Only Reg-
ister Base Address Table.
TABLE 25-5: EC-ONLY REGISTER BASE ADDRESS TABLE
Block Instance
Instance
Number
Host
Address Space
PWM
0
PWM
1
PWM
2
PWM
3
EC
32-bit internal
address space
EC
32-bit internal
address space
EC
32-bit internal
address space
EC
32-bit internal
address space
Base Address
4000_5800h
4000_5810h
4000_5820h
4000_5830h
The Base Address indicates where the first register can be accessed in a particular address space for a block instance.
TABLE 25-6:
Offset
00h
04h
08h
EC-ONLY REGISTER SUMMARY
Register Name (Mnemonic)
PWMx Counter ON Time Register
PWMx Counter OFF Time Register
PWMx Configuration Register
25.11.1 PWMX COUNTER ON TIME REGISTER
Offset 00h
Bits
Description
31:16 Reserved
15:0 PWMX_COUNTER_ON_TIME
This field determine both the frequency and duty cycle of the PWM
signal.
When this field is set to zero and the PWMX_COUNTER_OFF_-
TIME is not set to zero, the PWM_OUTPUT is held low (Full Off).
Type
R
R/W
Default
-
0000h
Reset
Event
-
VCC1_R
ESET
DS00001719D-page 288
 2014 - 2015 Microchip Technology Inc.