| 전자부품 데이터시트 검색엔진 |
|
EM78P451SWM 데이터시트(PDF) 34 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P451SWM 데이터시트(HTML) 34 Page - ELAN Microelectronics Corp |
|
34 / 54 page ![]() EM78P451S 8-Bit Microcontroller with OTP ROM 30 • Product Specification (V1.0) 06.01.2004 (This specification is subject to change without further notice) 4.6 Timer 1 4.6.1 Overview Timer1(TMR1) is an eight-bit clock counter with a programmable prescaler. It is designed for the SPI module as a baud rate clock generator. TMR1 can be read and written and cleared on any reset conditions. If employed, it can be turned down for power saving by setting TMR1EN bit [T1CON<2>] to 0. 4.6.2 Function description Fig. 15 shows TIMER1 block diagram. Each signal and block is described as follows: Comarator PWP TMR1 increase EQ reset Sets TMR1IF Clock output Prescaler 1:1 to 1:16 OSC/4 OSC/2 Fig. 15 TIMER1 Block Diagram OSC/4:Input clock. Prescaler: Option of 1:1, 1:4, 1:8, and 1:16 defined by T1P1 and T1P02 (T1CON<1, 0>). It is cleared when a value is written to TMR1 or T1CON, and during any kind of reset as well. PWP: Pulse width preset register. The desired width of baud clock is written in advance. TMR1: Timer 1 register. TMR1 increases until it matches with PWP, and then resets to 0. If it is chosen optionally in the SPI mode, its output is fed as a shifting clock. Comparator: To change the output status while a match occurs. The TMR1IF flag will be set at the same time. 4.6.3 Programmed the related registers The related registers of the defining TMR1 operation are shown in Table 4 and Table 5 Table 4 Related Control Registers of the TMR1 Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x0C SPIS/RC 0 0 0 TM1IF OD3 OD4 RBFIF RBF 0x0F INTC/IOCF 0 0 0 0 TM1IE SPIIE EXIE TCIE Table 5 Related Status/Data Registers ofTMR1 Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0X0E TMR1/RE TMR17 TMR16 TMR15 TMR14 TMR13 TMR12 TMR11 TMR10 0x0F PWP/RF PWP7 PWP6 PWP5 PWP4 PWP3 PWP2 PWP1 PWP0 0x0C T1CON/IOCC 0 0 0 0 0 TM1E TM1P1 TM1P0 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |