| Electronic Components Datasheet Search |
|
SN8F5708 Datasheet(PDF) 89 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8F5708 Datasheet(HTML) 89 Page - SONiX Technology Company |
|
89 / 204 page ![]() www.sonix.com.tw SN8F5708 Series Copyright © 2019, SONiX Technology Co., Ltd. Timer 2 Datasheet Rev. 2.4 89 15 Timer 2 Timer 2 is a 16-bit up counting timer which has several optional extensions: specified reload value, comparison output (PWM) and capture function. Timer 2 consists of a dedicated 16-bit counter/timer and four 16-bit capture/compare modules. Each capture/compare module has its own associated I/O when enabled. Each capture/compare module may be configured to operate independently in one of 3 modes: compare, capture with rising edge, or capture with register be written. 16-bit Counter/Timer TH2/TL2 Capture/compare module CRC Capture/compare module CC1 Capture/compare module CC2 Capture/compare module CC3 T2COM0 T2COM1 T2COM2 T2COM3 T2CC0 T2CC1 T2CC2 T2CC3 Timer 2 clock 15.1 Timer 2 Up-counting Control Timer 2 has three operation modes by its clock source: specify fcpu clocks (fcpu/12 and fcpu/24), specify fcpu clocks with a stop control, and external clock input. The table below categorizes these three operation modes and its related registers (T2I1, T2I0 and T2PS). Once the timer’s counter is overflow (counts from 0xFFFF to 0x0000), TF2 would be issued immediately which can read/write by firmware. Timer 2 interrupt function is controlled by ET2. T2I1 T2I0 T2PS Timer 2 Clock Source 0 0 X Disable Timer 2 0 1 0 fcpu/12 0 1 1 fcpu/24 1 1 0 fcpu/12 (stop counting when T2 pin is low, resume when T2 is high) 1 1 1 fcpu/24 (stop counting when T2 pin is low, resume when T2 is high) 1 0 X T2 pin rising edge (T2 pin is shared with P2.3, clock rate ≤ 0.5 * fcpu) |
|
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 |