| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
SH79F3283P/032PR Datasheet(PDF) 83 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F3283P/032PR Datasheet(HTML) 83 Page - SINOWEALTH Electronic Ltd |
|
83 / 144 page ![]() SH79F3283 83 8.3.4 12-bit PWM Timer The SH79F3283 has one 12-bit PWM module. The PWM module can provide the pulse width modulation waveform with the period and the duty being controlled, individually. The PWMC is used to control the PWM module operation with proper clocks. The PWMPH/L is used to control the period cycle of the PWM module output. PWMDH/L is used to control the duty in the waveform of the PWM module output. It is acceptable to change these 3 registers during PWM output Enable. All the change will take affect at the next PWM period. Table 8.15 12-bit PWM Control Register D2H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 PWM0C PWM0IE PWM0IF TnCK02 FLTS FLTC PWM0S TnCK01 TnCK00 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 PWM0IE PWM0 interrupt enable bit (When EPWM bit in IEN1 is set) 0: Disable PWM0 interrupt 1: Enable PWM0 interrupt 6 PWM0IF PWM0 interrupt flag bit 0: Clear by software 1: Set by hardware to indicate that the PWM0 period counter overflow 5 TnCK02 12 bit PWM clock source select bit (Combination control with TnCK0[1:0]) Refer to TnCK0[1:0] 4 FLTS FLT states bit 0: PWM is normal states, cleared by software 1: PWM is in inactive states, set automatically by hardware 3 FLTC FLT pin configuration 0: inactivate the PWM output when FLT is low level 1: inactivate the PWM output when FLT is high level 2 PWM0S PWM0 output normal mode of duty cycle 0: high active, PWM0 output high during duty time, output low during remain period time 1: low active, PWM0 output low during duty time, output high during remain period time 1-0 TnCK0[1:0] 12 bit PWM clock source select bit (Combination control with TnCK02]) 000: oscillator clock/2 001: oscillator clock/4 010: oscillator clock/8 011: oscillator clock/16 100: oscillator clock/1 101: oscillator clock/32 110: oscillator clock/64 111: oscillator clock/256 Note: when OP_OSC is 0000, 0011 or 1010, PWM clock is internal RC; when OP_OSC is 1110, PWM clock is crystal/ceramic from XTAL pin; when OP_OSC is 0110 or 1101, PWM clock is crystal/ceramic from XTALX pin. Note: (1) Inactivate PWM here means PWM0 outputs keep Low (if PWM0S = 0) or High (if PWM0S = 1). (2) The PWM output will remain in the inactive states as soon as the high/low level of FLT pin is detected (3) Clearing FLTS bit when a FAULT input is coming will not success. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |