| Electronic Components Datasheet Search |
|
SM89516B Datasheet(PDF) 44 Page - SyncMOS Technologies,Inc |
|
|
|||||||||||||||||||||||||||||
SM89516B Datasheet(HTML) 44 Page - SyncMOS Technologies,Inc |
|
44 / 49 page ![]() SM89516B 8-Bit Micro-controller 64KB Flash & 1KB RAM embedded Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M087 Ver D SM89516B 08/07/2015 - 44 - 12. Pulse Width Modulation (PWM) There are two PWM channels in SM89516B. The resolution of PWM channel can be 8-bit or 5-bit depending on the setting on corresponding PBS bit in PWMCn register, where n-0 or 1. PWMTB (8-bit timer) PWMPS (2-bit timer) MUX 4 2 { PFS1,PFS0 } PWMCLK PWMDn[7:5] PWMDn[4:0] 8-bit or 5-bit Logic Comparator COUNT[7:0] CMPOUT PWMOUTn Figure : PWMn functional block To P1.2 and P1.3 PBS ( 1 for 5-bit PWM) n=0,1 System clock Mnemonic Description Dir. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RST PWM P1CON P1 Control Register 9BH SDAE SCLE - - PWM1E PWM0E - - 00H PWMC0 PWM Control Register 0 D3H - - - - - PBS PFS1 PFS0 00H PWMC1 PWM Control Register 1 D4H - - - - - PBS PFS1 PFS0 00H PWMD0 PWM Data Register 0 B3H D0.7 D0.6 D0.5 D0.4 D0.3 D0.2 D0.1 D0.0 00H PWMD1 PWM Data Register 1 B4H D1.7 D1.6 D1.5 D1.4 D1.3 D1.2 D1.1 D1.0 00H Mnemonic: P1CON Address: 9Bh 7 6 5 4 3 2 1 0 Reset SDAE SCLE - - PWM1E PWM0E - - 00h PWM1E: Set 1 to configure P1[3] as PWM channel 1 output. PWM0E: Set 1 to configure P1[2] as PWM channel 0 output. Mnemonic: PWMC[0:1] Address: D3h and D4h 7 6 5 4 3 2 1 0 Reset - - - - - PBS PFS1 PFS0 00h PBS: When set, the PWM is 5 bits resolution. PFS [1:0]: The PWM clock divider select. PFS1 PFS0 PWM clock divider select 0 0 2 0 1 4 1 0 8 1 1 16 |
|
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 |