| Electronic Components Datasheet Search |
|
HT56RB27 Datasheet(PDF) 49 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56RB27 Datasheet(HTML) 49 Page - Holtek Semiconductor Inc |
|
49 / 153 page ![]() PWM Register Pairs - PWMnH/PWMnL (n=0~3) PWMnH Register Bit 76543210 Name D11 D10 D9 D8 D7 D6 D5 D4 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00000000 PWMnL Register Bit 76543210 Name D3 D2 D1 D0 ¾¾¾ PWMnEN R/W R/W R/W R/W R/W ¾¾¾ R/W POR 0000 ¾¾¾ 0 ²¾² unimplemented, read as ²0² D11~D4: PWMn duty DC value D3~D0: PWMn duty AC value PWMnEN: PWMn output enable control 0: I/O pin enable 1: PWM output pin enable PWM Programming Example The following sample program shows how the PWM output is setup and controlled. mov a,64h ; setup PWM0 value to 1600 decimal which is 640H mov pwm0h,a ; setup PWM0H register value clr pwm0l ; setup PWM0L register value clr pcc.4 ; setup pin PC4 as an output set pwm0en ; set the PWM0 enable bit set pc.4 ; Enable the PWM0 output :: :: clr pc.4 ; PWM0 output disabled - PC4 will remain low HT56RB27 TinyPowerTM A/D Type Smart Card OTP MCU with DAC, ISO 7816 and USB Interfaces Rev. 1.20 49 April 26, 2013 f S Y S / 2 P W M [ P W M ] = 1 6 0 0 [ P W M ] = 1 6 0 1 P W M [ P W M ] = 1 6 0 2 P W M [ P W M ] = 1 6 1 5 P W M P W M c y c l e : 4 0 9 6 / f S Y S 1 0 0 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 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 : 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 2 M o d u l a t i o n c y c l e 1 5 M o d u l a t i o n c y c l e 0 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 1 / 2 5 6 1 0 0 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 0 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 1 0 1 / 2 5 6 8+4 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 |