| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 106 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 106 Page - Microchip Technology |
|
106 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 106 2013 - 2014 Microchip Technology Inc. 13.6 16-bit General Purpose Counter A 16-bit general-purpose down counter is located in the DCL, DCH register pair. Writing to these registers stores the preload value for the counter. Reading these registers will yield the current count value. Once the counter is enabled and begins counting, it will continue counting down either until it reaches 0000h or until a new preload value is written to the counter. At 0000h the counter wraps around to FFFFh and will generate the General Purpose Down Counter inter- rupt. The counter is clocked by a 10kHz clock input (i.e., 100usec/lsb) derived from the system clock. The counter loads the stored preload value and begins counting when the Counter Enable bit is set to ‘1’. On a POR or when the Counter Interrupt Enable bit is cleared to ‘0’, the preload value used by the counter is initialized to FFFFh. Setting the Counter Enable bit to ‘1’ loads the current preload value. This allows software to write the preload value before enabling the counter. Therefore, when this enable bit is set to ‘1’ the counter begins counting down from the pre- load value, which will be either the default preload value (FFFFh) or a programmed preload value. The Counter Enable bit is located in the LCR register. 10 7 01 7.5 96 625000 10 8 10 7.5 32 117118 10 9 01 7.5 307 195313 0.07 11 1 10 10 384 9766 11 2 10 10 192 19531 11 3 10 10 96 39063 11 4 10 10 48 78125 11 5 10 10 24 156250 11 6 01 10 192 312500 11 7 01 10 96 625000 11 8 01 10 512 117118 11 9 01 10 307 195313 0.07 12 1 10 15 384 9766 12 2 10 15 192 19531 12 3 10 15 96 39063 12 4 01 15 768 78125 12 5 01 15 384 156250 12 6 01 15 192 312500 12 7 01 15 96 625000 12 8 10 15 32 117118 12 9 01 15 307 195313 0.07 13 1 10 20 384 9766 13 2 10 20 192 19531 13 3 10 20 96 39063 13 4 01 20 768 78125 13 5 01 20 384 156250 13 6 01 20 192 312500 13 7 01 20 96 625000 13 8 01 20 32 117118 13 9 01 20 307 195313 0.07 TABLE 13-2: RECOMMENDED SETTINGS FOR VALID TA1 ETU RATES (CONTINUED) FI (Dec) DI (Dec) Sampling Field (Binary) SCLK (Actual) MHz DL Divisor Value (Decimal) Baud Rate (Bits/Sec) Error (%) Notes |
|
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 |