| Electronic Components Datasheet Search |
|
SH79F6489P/080PR Datasheet(PDF) 89 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F6489P/080PR Datasheet(HTML) 89 Page - SINOWEALTH Electronic Ltd |
|
89 / 152 page ![]() SH79F6488/SH79F6489 89 8.4 PWM (Pulse Width Modulation) 8.4.1 Features Three 12-bit PWM output Provided interrupt function on period Selectable output polarity The SH79F6488/SH79F6489 has three 12-bit PWM modules. The PWM module can provide the pulse width modulation waveform with the period and the duty being controlled, individually. The PWMxEN (x = 0-2) is used to enable three PWM modules. The PWMxCON (x = 0-2) is used to control the clock source, output mode and cycle interrupt of the PWM module output, and so on. The PWMxPH/L (x = 0-2) is used to control the period cycle of the PWM module output. PWMxDH/L (x = 0-2) is used to control the duty in the waveform of the PWM module output. 8.4.2 PWM Registers Table 8.13 PWMx (x = 0-2) Control Registers C5H, C6H, C7H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWM0CON (C5H) PWM0EN PWM0S PWM0CK1 PWM0CK0 - PWM0IE PWM0IF PWM0SS PWM1CON (C6H) PWM1EN PWM1S PWM1CK1 PWM1CK0 - PWM1IE PWM1IF PWM1SS PWM2CON (C7H) PWM2EN PWM2S PWM2CK1 PWM2CK0 - PWM2IE PWM2IF PWM2SS 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 Bit Number Bit Mnemonic Description 7 PWMxEN PWMx enable bit 0: Disable PWMx 1: Enable PWMx 6 PWMxS PWMx output normal mode of duty cycle 0: high active, PWMx output high during duty time, output low during remain period time 1: low active, PWMx output low during duty time, output high during remain period time 5-4 PWMxCK[1:0] PWMx clock selector: 00: system clock/1 01: system clock/2 10: system clock/4 11: system clock/8 2 PWMxIE PWMx interrupt enable bit 0: Disable PWMx interrupt 1: Enable PWMx interrupt 1 PWMxIF PWMx interrupt flag 0: Clear by software 1: Set by hardware to indicate that the PWM0 period counter overflow 0 PWMxSS Enable 12-bit PWMx 0: I/O port 1: PWM output |
|
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 |