參數(shù)資料
型號(hào): EM785842P
廠商: ELAN Microelctronics Corp .
英文描述: 8-BIT MICRO-CONTROLLER
中文描述: 8位微控制器
文件頁數(shù): 33/45頁
文件大小: 461K
代理商: EM785842P
EM785840/5841/5842
8-bit Micro-controller
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
2004/11/10 V1.2
Data Bus
Data Bus
PRD1
Comparator
TMR1X
MUX
Period
Match
T1P0
T1P1T1EN
PRD2
Comparator
TMR2X
MUX
Period
Match
T2P0 T2P1 T2EN
To PWM1IF
To PWM2IF
reset
reset
1:2
1:8
1:32
1:64
Fosc
1:2
1:8
1:32
1:64
Fosc
*TMR1X = TMR1H + TMR1L;
*TMR2X = TMR2H +TMR2L
Fig.12 TMRX Block Diagram
Fosc: Input clock.
Prescaler (T1P0 and T1P1): Options of 1:2, 1:8, 1:32, and 1:64 are defined by TMRX. It is cleared when
any type of reset occurs.
TMR1X (TMR1H/TWR1L):Timer X register; TMRX is increased until it matches with PRDX, and then is
reset to 0. TMRX cannot be read.
PRDX (PRD1): PWM period register.
When defining TMRX, refer to the related registers of its operation as shown in prescale register. It must be
noted that the PWMX bits must be disabled if their related TMRXs are employed. That is, bit 6 of the
PWMCON register must be set to ‘0’.
Related Control Registers(R5 PAGE3) of TMR1 and TMR2
Bit 7
Bit 6
Bit 5
PWM2E
PWM1E
T2EN
Bit 4
T1EN
Bit 3
T2P1
Bit 2
T2P0
Bit 1
T1P1
Bit 0
T1P0
Timer programming procedures/steps
Load PRDX with the TIMER period.
Enable interrupt function by writing IOCF PAGE0, if required
Load a desired value to PWMCON with the TMRX prescaler value and enable both TMRX and disable
PWMX.
相關(guān)PDF資料
PDF描述
EM78611 Universal Serial Bus Microcontroller Series
EM78800 8-BIT MICRO-CONTROLLER
EM78P811 8-BIT MICRO-CONTROLLER
EM78803 8-BIT MICRO-CONTROLLER
EM78803A Low-Cost Molded VRS Sensor, 7,4 mm [0.292 in]
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EM78611 制造商:EMC 制造商全稱:ELAN Microelectronics Corp 功能描述:USB & PS/2 Keyboard Encoder
EM78612 制造商:EMC 制造商全稱:ELAN Microelectronics Corp 功能描述:Universal Serial Bus Microcontroller
EM78701 制造商:TE Connectivity 功能描述:
EM78800 制造商:EMC 制造商全稱:ELAN Microelectronics Corp 功能描述:8-BIT MICRO-CONTROLLER
EM78803 制造商:EMC 制造商全稱:ELAN Microelectronics Corp 功能描述:8-BIT MICRO-CONTROLLER