| Electronic Components Datasheet Search |
|
SH79F085M/024MU Datasheet(PDF) 39 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F085M/024MU Datasheet(HTML) 39 Page - SINOWEALTH Electronic Ltd |
|
39 / 97 page ![]() SH79F085/SH79F165 39 Register Table 7.21 Timer/Counter x Control Register (x = 0, 1) 88H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 TCON TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 0 0 0 0 Bit Number Bit Mnemonic Description 7, 5 TFx x = 0, 1 Timer x overflow flag 0: Timer x no overflow, can be cleared by software 1: Timer x overflow, set by hardware; set by software will cause a timer interrupt 6, 4 TRx x = 0, 1 Timer x start, stop control bits 0: Stop timer x 1: Start timer x 3, 1 IEx x = 0, 1 External interrupt x request flag 2, 0 ITx x = 0, 1 External interrupt x trigger mode select bits Table 7.22 Timer/Counter x Mode Register (x = 0, 1) 89H Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 TMOD GATE1 C/T1 ——— M11 M10 GATE0 C/T0 ——— M01 M00 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Value (POR/WDT/LVR/PIN) 0 0 0 0 0 0 0 0 Bit Number Bit Mnemonic Description 7, 3 GATEx x = 0, 1 Timer x Gate Control bits 0: Timer x is enabled whenever TRx control bit is set 1: Timer x is enabled only while INTx pin is high and TRx control bit is set 6, 2 C/Tx ——— x = 0, 1 Timer x Timer/Counter mode selected bits 0: Timer Mode, T0 or T1 pin is used as I/O port 1: Counter Mode 5-4 1-0 Mx [1:0] x = 0, 1 Timer x Timer mode selected bits 00: Mode0, 13-bit up counter/timer, bit7-5 of TLx is ignored 01: Mode1, 16-bit up counter/timer 10: Mode2, 8-bit auto-reload up counter/timer 11: Mode3 (only for Timer0), two 8-bit up timer |
|
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 |