| Electronic Components Datasheet Search |
|
HT46C232 Datasheet(PDF) 18 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46C232 Datasheet(HTML) 18 Page - Holtek Semiconductor Inc |
|
18 / 50 page ![]() HT46R232/HT46C232 Rev. 1.40 18 November 23, 2005 I/O Mode I/P (Normal) O/P (Normal) I/P (PWM) O/P (PWM) PD0~ PD3 Logical Input Logical Output Logical Input PWM0~ PWM3 It is recommended that unused or not bonded out I/O lines should be set as output pins by software instruction to avoid consuming power under input floating state. PWM The microcontroller provides 4 channels (6+2)/(7+1) (de- pends on options) bits PWM output shared with PD0/PD1/PD2/PD3. The PWM channels have their data registers denoted as PWM0 (1AH), PWM1 (1BH), PWM2 (1CH) and PWM3 (1DH). The frequency source of the PWM counter comes from fSYS. The PWM registers are four 8-bit registers. The waveforms of PWM outputs are as shown. Once the PD0/PD1/PD2/PD3 are selected as the PWM outputs and the output function of PD0/PD1/PD2/PD3 are enabled (PDC.0/PDC.1/ PDC.2/PDC.3 = ²0²), writing ²1² to PD0/PD1/PD2/PD3 data register will enable the PWM output function and writ- ing ²0² will force the PD0/PD1/PD2/PD3 to stay at ²0². A (6+2) bits mode PWM cycle is divided into four modu- lation cycles (modulation cycle 0~modulation cycle 3). Each modulation cycle has 64 PWM input clock period. In a (6+2) bit PWM function, the contents of the PWM register is divided into two groups. Group 1 of the PWM register is denoted by DC which is the value of PWM.7~PWM.2. The group 2 is denoted by AC which is the value of PWM.1~PWM.0. In a (6+2) bits mode PWM cycle, the duty cycle of each modulation cycle is shown in the table. Parameter AC (0~3) Duty Cycle Modulation cycle i (i=0~3) i<AC DC+1 64 i ³AC DC 64 f S Y S / 2 P W M [ P W M ] = 1 0 0 [ P W M ] = 1 0 1 P W M [ P W M ] = 1 0 2 P W M [ P W M ] = 1 0 3 P W M P W M c y c l e : 2 5 6 / f S Y S 2 5 / 6 4 2 6 / 6 4 2 6 / 6 4 2 6 / 6 4 2 5 / 6 4 2 5 / 6 4 2 5 / 6 4 2 5 / 6 4 2 5 / 6 4 2 5 / 6 4 2 5 / 6 4 2 6 / 6 4 2 6 / 6 4 2 5 / 6 4 2 5 / 6 4 2 6 / 6 4 2 5 / 6 4 2 6 / 6 4 2 6 / 6 4 2 6 / 6 4 M o d u l a t i o n c y c l e 0 P W M m o d u l a t i o n p e r i o d : 6 4 / f S Y S M o d u l a t i o n c y c l e 1 M o d u l a t i o n c y c l e 2 M o d u l a t i o n c y c l e 3 M o d u l a t i o n c y c l e 0 (6+2) PWM Mode f S Y S / 2 P W M [ P W M ] = 1 0 0 [ P W M ] = 1 0 1 P W M [ P W M ] = 1 0 2 P W M [ P W M ] = 1 0 3 P W M P W M m o d u l a t i o n p e r i o d : 1 2 8 / f S Y S 5 0 / 1 2 8 5 1 / 1 2 8 5 1 / 1 2 8 5 2 / 1 2 8 5 0 / 1 2 8 5 0 / 1 2 8 5 1 / 1 2 8 5 1 / 1 2 8 5 0 / 1 2 8 5 1 / 1 2 8 5 1 / 1 2 8 5 2 / 1 2 8 M o d u l a t i o n c y c l e 0 P W M c y c l e : 2 5 6 / f S Y S M o d u l a t i o n c y c l e 1 M o d u l a t i o n c y c l e 0 (7+1) PWM Mode |
|
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 |