| Electronic Components Datasheet Search |
|
SH79F084BL/016LU Datasheet(PDF) 64 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F084BL/016LU Datasheet(HTML) 64 Page - SINOWEALTH Electronic Ltd |
|
64 / 86 page ![]() SH79F084B 64 9.3 PWM Module 9.3.1 Feature 8-bit PWM modules Provided interrupt function on period and duty overflow Selectable output polarity The SH79F084B has a 8-bit PWM modules. The PWM modules can provide the pulse width modulation waveform with the period and the duty being controlled, individually. The PWMCON is used to control the PWM module operation with proper clocks. The PWMP is used to control the period cycle of the PWM module output. And the PWMD is used to control the duty in the waveform of the PWM module output. 9.3.2 Register Table 9.9 PWM Control Register D1H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWMCON PWMEN PWMS PWMCK1 PWMCK0 - - PWMIF PWMSS 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 PWMEN PWM Enable 0: Disable PWM module 1: Enable PWM module 6 PWMS PWM output Polarity Selection 0: High Active, PWMN output high during duty time, output low during remain period time 1: Low Active, PWMN output low during duty time, output high during remain period time 5-4 PWMCK[1:0] PWM clock select bit 00: System clock/2 01: System clock/4 10: System clock/8 11: System clock/16 1 PWMIF PWM interrupt flag 0: PWM period counter not overflow 1: Set by hardware to indicate that the PWM period counter overflow 0 PWMSS PWM output share selection 0: PWM output disable, used as I/O port 1: PWM output enable Table 9.10 PWM Period Control Register D2H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWMP PWMP.7 PWMP.6 PWMP.5 PWMP.4 PWMP.3 PWMP.2 PWMP.1 PWMP.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 PWMP[7:0] PWM output period cycle = PWMP * PWM clock When PWMP = 00H, PWM pin outputs GND if the PWMS = 0 When PWMP = 00H, PWM pin outputs HIGH if the PWMS = 1 |
|
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 |