| Electronic Components Datasheet Search |
|
EM78P468SH Datasheet(PDF) 74 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P468SH Datasheet(HTML) 74 Page - ELAN Microelectronics Corp |
|
74 / 94 page ![]() EM78P468S 8-Bit Microcontroller 68 Product Specification (V1.0) 07.28.2016 (This specification is subject to change without prior notice) 6.11.2 Increment Timer Counter (TMR) TMR are 10-bit clock counters with programmable prescalers. They are designed for the PWM module as baud rate clock generators. If employed, they can be turned off for power saving purposes by setting the TEN bit [BANK1-R6<3 >] to “0”. TMR are internal designs and can be read only. 6.11.3 PWM Time Period (TMR) PWM Time Period (PRD) The PWM time period is defined by writing to the PRDH/L register. When TMR is equal to PRD, the following events occur on the next increment cycle: 1) TMR is cleared 2) The PWM is set to “1” 3) The PWM duty cycle is latched from DTH/L NOTE The PWM output will not be set, if the duty cycle is “0”. 4) The PWMIF pin is set to “1” The following formula describes how to calculate the PWM time period: value prescale TMRX FOSC PRDX Period 1 1 Example: PRDX=49; Fosc=4 MHz; TMRX (0, 0, 0) = 1:1, then 5 . 12 1 4 1 1 49 M Period µ S 6.11.4 PWM Duty Cycle (DTH/L) The PWM duty cycle is defined by writing to the DTH/L register, and is latched from DTH/Lwhile TMR is cleared. When DT is equal to TMR, the PWM pin is cleared. DT can be loaded anytime. However, it cannot be latched into DL until the current value of DL is equal to TMR. The following formula describes how to calculate the PWM duty cycle: value prescale TMRX F DTX Cycle Duty OSC 1 |
|
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 |