| Electronic Components Datasheet Search |
|
GMS81508B Datasheet(PDF) 46 Page - Hynix Semiconductor |
|
|
|||||||||||||||||||||||||||||
GMS81508B Datasheet(HTML) 46 Page - Hynix Semiconductor |
|
46 / 100 page ![]() HYUNDAI MicroElectronics GMS81508B/16B/24B DEC. 1999 Ver 1.04 43 11.3 8-bit Capture Mode The Timer 0 capture mode is set by bit CAP0 of timer mode register TM0 (bit CAP2 of timer mode register TM2 for Timer 2) as shown in Figure 21. In this mode, Timer 1 still operates as an 8-bit timer/counter. As mentioned above, not only Timer 0 but Timer 2 can also be used as a capture mode. In 8-bit capture mode, Timer 1 and Timer 3 are can not be used as a capture mode. The Timer/Counter register is incremented in response in- ternal or external input. This counting function is same with normal timer mode, but Timer interrupt is not gener- ated. Timer/Counter still does the above, but with the add- ed feature that a edge transition at external input INTn pin causes the current value in the Timer counter register (T0,T2), to be captured into registers CDRn (CDR0, CDR2), respectively. After captured, Timer counter regis- ter is cleared and restarts by hardware. Note: The CDRn and TDRn are in same address.In the capture mode, reading operation is read the CDRn, not TDRn because path is opened to the CDRn. It has three transition modes: "falling edge", "rising edge", "both edge" which are selected by interrupt edge selection register IEDS. Refer to “16.4 External Interrupt” on page 61. In addition, the transition at INTn pin generate an inter- rupt. Figure 11-9 8-bit Capture Mode EC0 PIN ÷ 4 ÷ 16 ÷ 64 XIN PIN MUX INT0IF 0: Stop 1: Clear and start T0ST T0SL[1:0] “00” “01” “10” “11” INT0 INTERRUPT T0CN CDR0 (8-bit) T0 (8-bit) TIMER 0 BTCL 7 654 321 0 T1ST CAP0 T0SL1 INITIAL VALUE: 00H ADDRESS: 0E2H TM0 T0SL0 T0CN T0ST T1SL1 T1SL0 1X X X X X X means don’t care 01 or 10 or 11 “01” “10” “11” INT0 PIN Capture To TIMER1 IEDS[1:0] Edge Detector This figure is a example of using the Timer0. In the Timer2, operation is same like Timer0, each registers and flags may be changed with for Timer2. |
|
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 |