| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
EM78P372KSS20 Datasheet(PDF) 76 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P372KSS20 Datasheet(HTML) 76 Page - ELAN Microelectronics Corp |
|
76 / 118 page ![]() EM78P372K 8-bit Microcontroller 68 Product Specification (V1.4) 05.11.2016 (This specification is subject to change without prior notice) 7.8.4 PWM Duty Cycle (DTX: DT1 or DT2; DLX: DL1 or DL2) The PWM duty cycle is defined by writing to the DTX register, and is latched from DTX to DLX while TMRX is cleared. When DLX is equal to TMRX, the PWMX pin is cleared. DTX can be loaded anytime. However, it cannot be latched into DLX until the current value of DLX is equal to TMRX. The following formula describes how to calculate the PWM duty cycle: Example: DTX=10; Fosc=4 MHz; TMRX (0, 0, 0) = 1:1, then 5 . 2 1 4 1 10 M Cycle Duty µ S 7.8.5 Comparator X Changing the output status while a match occurs will simultaneously set the PWMXIF (TMRXIF) flag. 7.8.6 PWM Programming Process/Steps Load PRDX with the PWM time period. 1. Load DTX with the PWM Duty Cycle. 2. Enable interrupt function by writing IOCF0, if required. 3. Set PWMX pin to be output by writing a desired value to Bank 1-R7. 4. Load a desired value to BANK1-R8 with TMRX prescaler value and enable both PWMx and TMRX value prescale TMRX F DTX Cycle Duty OSC 1 |
|
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 |