| Datenblatt-Suchmaschine für elektronische Bauteile |
|
SN8A1702AX Datenblatt(PDF) 67 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8A1702AX Datenblatt(HTML) 67 Page - SONiX Technology Company |
|
67 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 67 Revision 0.5 TC1M MODE REGISTER The TC1M is the timer mode register, which is an 8-bit read/write register. By loading different value into the TC1M register, users can modify the timer counter clock frequency dynamically when program executing. Eight rates for TC1 timer can be selected by TC1RATE0 ~ TC1RATE2 and TC1X8 bits of T0M register. If TC1X8=1 the TC1 will faster 8 times than TC1X8=0 (Initial value). The bit7 of TC1M named TC1ENB is the control bit to start TC1 timer. TC1M initial value = 0000 0000 0DCH Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TC1M TC1ENB TC1RATE2 TC1RATE1 TC1RATE0 0 ALOAD1 TC1OUT PWM1OUT R/W R/W R/W R/W - R/W R/W R/W Bit7 TC1ENB: TC1 counter/BZ1/PWM1OUT enable bit. 0 = disable, 1 = enable. Bit[6:4] TC1RATE[2:0]: TC1 clock source selection bits. TC1X8 is bit 3 of T0M register. TC1 Clock Source TC1RATE [2:0] TC1X8 = 0 TC1X8 = 1 000 Fcpu/256 = Fosc/1024 Fosc/128 001 Fcpu/128 = Fosc/512 Fosc/64 … … … 110 Fcpu/4 = Fosc/16 Fosc/2 111 Fcpu/2 = Fosc/8 Fosc Note: Fcpu = Fosc / 4 Bit2 ALOAD1: TC1 auto-reload function control bit. 0 = none auto-reload 1 = auto-reload. Bit1 TC01UT: TC1 time-out toggle signal output control bit. 0 = to disable TC1 signal output and to enable P5.3’s I/O function, 1 = to enable TC1’s signal output and to disable P5.3’s I/O function. (Auto-disable the PWM0OUT function.) Bit0 PWM1OUT: TC1’s PWM output control bit. 0 = to disable the PWM output, 1 = to enable the PWM output (The TC1OUT control bit must = 0) Note: TC1 doesn’t support event counter mode because SN8P1702A and SN8P1703A hasn’t P0.1 for TC1 event counter clock input. Note: Bit3 must set to “0”. |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |