| 전자부품 데이터시트 검색엔진 |
|
SN8P1703AX 데이터시트(PDF) 56 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8P1703AX 데이터시트(HTML) 56 Page - SONiX Technology Company |
|
56 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 56 Revision 0.5 TC0M MODE REGISTER The TC0M is the timer counter mode register, which is an 8-bit read/write register. By loading different value into the TC0M register, users can modify the timer counter clock frequency dynamically when program executing. Eight rates for TC0 timer can be selected by TC0RATE0 ~ TC0RATE2 and TC0X8 bits of T0M register. If TC0X8=1 the TC0 will faster 8 times than TC0X8=0 (Initial value). The bit7 of TC0M named TC0ENB is the control bit to start TC0 timer. TC0M initial value = 0000 0000 0DAH Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TC0M TC0ENB TC0RATE2 TC0RATE1 TC0RATE0 TC0CKS ALOAD0 TC0OUT PWM0OUT R/W R/W R/W R/W R/W R/W R/W R/W Bit7 TC0ENB: TC0 counter/BZ0/PWM0OUT enable bit. 0 = disable, 1 = enable. Bit [6:4] TC0RATE[2:0]: TC0 clock source selection bits. TC0X8 is bit 2 of T0M register. TC0 Clock Source TC0RATE [2:0] TC0X8 = 0 TC0X8 = 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 Bit3 TC0CKS: TC0 clock source select bit. 0 = Fcpu, 1 = External clock comes from INT0/P0.0 pin. Bit2 ALOAD0: TC0 auto-reload function control bit. 0 = none auto-reload, 1 = auto-reload. Bit1 TC0OUT: TC0 time-out toggle signal output control bit. 0 = to disable TC0 signal output and to enable P5.4’s I/O function, 1 = to enable TC0’s signal output and to disable P5.4’s I/O function. (Auto-disable the PWM0OUT function.) Bit0 PWM0OUT: TC0’s PWM output control bit. 0 = to disable the PWM output, 1 = to enable the PWM output (The TC0OUT control bit must = 0 ) Note: When TC0CKS=1, TC0 became an external event counter. No more P0.0 interrupt request will be raised. (P0.0IRQ will be always 0) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |