| Electronic Components Datasheet Search |
|
SH89F52P/044PR Datasheet(PDF) 57 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH89F52P/044PR Datasheet(HTML) 57 Page - SINOWEALTH Electronic Ltd |
|
57 / 105 page ![]() SH88F516(SH88F54/SH89F52) 57 9. Enhanced Function 9.1 PWM (Pulse Width Modulation) The SH88F516 has 3 8-bit PWM module. Which can provide the pulse width modulation waveform with the period and the duty being controlled individually by corresponding register. PWM timer also provides 3 interrupts for PWM0. This makes it possible to change period or duty of next cycle in every PWM period. Table 9.1 PWMx (x = 0-2) Timer Control Register D9H - DBH Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWMxCON (x=0-2) EPWMx PWMxS PWMxCK1 PWMxCK0 - - PWMxIF PWMxSS R/W R/W R/W R/W R/W - - R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 - - 0 0 Bit Number Bit Mnemonic Description 7 EPWMx PWMx enable bit 0: PWMx Timer off (Default) 1: PWMx Timer on 6 PWMxS PWMx output normal mode of duty cycle 0: high active (Default) 1: low active 5-4 PWMxCK1-0 PWMx clock source selector 00: system frequency/2 (Default) 01: system frequency/4 10: system frequency/8 11: system frequency/16 3-2 - - 1 PWMxIF PWMx interrupt flag bit 0: no interrupt, cleared by software (Default) 1: interrupt occur, set by hardware to indicate that the PWM0 period counter overflow 0 PWMxSS PWMx output pin function selection 0: IO (Default) 1: PWM output Table 9.2 PWMx (x = 0-2)Period Control Register D1H - D3H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWMxP (x=0-2) PWMxP.7 PWMxP.6 PWMxP.5 PWMxP.4 PWMxP.3 PWMxP.2 PWMxP.1 PWMxP.0 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 0 0 0 0 Bit Number Bit Mnemonic Description 7-0 PWMxP[7:0] PWMx Period Registers PWM output period = PWMxP[7:0] X PWM clock no matter how much PWM duty When PWMxP[7:0] = 000H, if PWMS = 0, PWMx output low level, no matter how much PWM duty When PWMxP[7:0] = 000H, if PWMS = 1, PWMx output high level, no matter how much PWM duty |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |