| Electronic Components Datasheet Search |
|
C511 Datasheet(PDF) 55 Page - Siemens Semiconductor Group |
|
|
|||||||||||||||||||||||||||||
C511 Datasheet(HTML) 55 Page - Siemens Semiconductor Group |
|
55 / 128 page ![]() Semiconductor Group 6-22 On-Chip Peripheral Units 6.2.2 Timer/Counter 2 (SAB-C513/C513A/C513A-H only) Timer 2 is a 16-bit timer / counter which can operate as timer or counter. It has 3 operating modes : – 16-bit auto-reload mode (up or down counting) – 16-bit capture mode – Baudrate generator (see chapter 6.3.3.2) The modes are selected by bits in the SFR T2CON (C8H) as shown in table 6-5. Table 6-5 Timer/Counter 2 - Operating Modes Timer 2 consists of two 8-bit registers, TH2 and TL2. In the timer function, the TL2 register is incremented every machine cycle. Since a machine cycle consists of 12 oscillator periods, the count rate is 1/12 of the oscillator frequency. In the counter function, the register is incremented in response to a 1-to-0 transition at its corresponding external input pin T2 (P1.0). In this function, the external input is sampled during S5P2 of every machine cycle. When the samples show a high in one cycle and a low in the next cycle, the count is incremented. The new value appears in the register during S3P1 of the cycle following the one in which the transition was detected. Since it takes two machine cycles to recognize a 1-to-0 transition, the maximum count rate is 1/24 of the oscilllator frequency. To ensure that a given level is sampled at least once before it changes, it should be held for at least one full machine cycle. RCLK + TCLK CP/RL2 TR2 Mode 0 0 1 16-bit auto-reload 0 1 1 16-bit capture 1 X 1 Baud rate generator X X 0 (OFF) |
|
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 |