| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
EM78P372KSS20 bảng dữ liệu(PDF) 78 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P372KSS20 bảng dữ liệu(HTML) 78 Page - ELAN Microelectronics Corp |
|
78 / 118 page ![]() EM78P372K 8-bit Microcontroller 70 Product Specification (V1.4) 05.11.2016 (This specification is subject to change without prior notice) 7.9.3 Programming the Related Registers When defining TMRX, refer to the operation of its related registers as shown in the following table. It must be noted that the PWMX bits must be disabled if their related TMRXs are utilized. That is, Bit 7 ~ Bit 3 of the PWMCON register must be set to “0”. Related Control Registers of TMR1 and TMR2 Addr. Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x07 PWMCON/R7 IPWM2 E IPWM1 E “0” “0” “0” PWMCAS PWM2E PWM1E 0x08 TMRCON/R8 T2EN T1EN T2P2 T2P1 T2P0 T1P2 T1P1 T1P0 7.9.4 Timer Programming Process/Steps 1. Load PRDX with the Timer duration 2. Enable interrupt function by writing IOCF0, if required 3. Load a desired value for the TMRX prescaler, enable TMRX and disable PWMX 7.9.5 PWM Cascade Mode The PWM Cascade Mode merges two 8-bit PWM function into one 16-bit. In this mode, the necessary parameters are redefined as shown on the table below: Parameter 16-bit PWM DT (Duty) PRD (Period) TMR (Timer) MSB (15~8) DT2 PRD2 TMR2 LSB (7~0) DT1 PRD1 TMR1 The prescaler of this 16-bit PWM uses the prescaler of the TMR1. The MSB of TMR is counted when LSB carry and the PWM1IF bit/PWM1 pins are redefined as the PWMIF bit/PWM pin (or PWM1 pin). Data Bus Data Bus PRD TMR S R Q MUX Duty Cycle Match Period Match PWM (PWM1) T1P2 T1P1T1P0 T1EN IOC51,2 To PWMIF (PWM1IF) reset latch Fosc DT DL 1:2 1:4 1:8 1:64 1:1 1:16 1:128 1:256 16-bit Comparator 16-bit Comparator Figure 7-27 16-Bit PWM Functional Block Diagram (Merged from Two 8 Bits) |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |