| Electronic Components Datasheet Search |
|
27E65 Marking, SN8F27E64LSG Datasheet(PDF) 101 Page - SONiX Technology Company |
|
||||||||||||||||||||||||||||||
SN8F27E64LSG Datasheet(HTML) 101 Page - SONiX Technology Company |
|
101 / 192 page ![]() SN8F27E60 Series 8-Bit Flash Micro-Controller with Embedded ICE and ISP SONiX TECHNOLOGY CO., LTD Page 101 Version 1.4 8.4.3 TC1M MODE REGISTER TC1M is TC1 timer mode control register to configure TC1 operating mode including TC1 pre-scalar, clock source, PWM function…These configurations must be setup completely before enabling TC1 timer. 0B8H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TC1M TC1ENB TC1rate2 TC1rate1 TC1rate0 TC1CKS1 TC1CKS0 - PWM1OUT Read/Write R/W R/W R/W R/W R/W R/W - R/W After reset 0 0 0 0 0 0 - 0 Bit 0 PWM1OUT: PWM output control bit. 0 = Disable PWM output function, and P5.2 is GPIO mode. 1 = Enable PWM output function, and P5.2 outputs PWM signal. Bit 2 TC1CKS0: TC1 clock source select bit. 0 = Fcpu. 1 = Fhosc. Bit 3 TC1CKS1: TC1 clock source select bit. 0 = Internal clock (Fcpu and Fhosc controlled by TC1CKS0 bit). 1 = External input pin (P0.1/INT1) and enable event counter function. TC0rate[2:0] bits are useless. Bit [6:4] TC1RATE[2:0]: TC1 timer clock source select bits. TC1CKS0=0 -> 000 = Fcpu/128, 001 = Fcpu/64, 010 = Fcpu/32, 011 = Fcpu/16, 100 = Fcpu/8, 101 = Fcpu/4, 110 = Fcpu/2,111 = Fcpu/1. TC1CKS0=1 -> 000 = Fhosc/128, 001 = Fhosc/64, 010 = Fhosc/32, 011 = Fhosc/16, 100 = Fhosc/8, 101 = Fhosc/4, 110 = Fhosc/2,111 = Fhosc/1. Bit 7 TC1ENB: TC1 counter control bit. 0 = Disable TC1 timer. 1 = Enable TC1 timer. 8.4.4 TC1C COUNTING REGISTER TC1C is TC1 8-bit counter. When TC1C overflow occurs, the TC1IRQ flag is set as “1” and cleared by program. The TC1C decides TC1 interval time through below equation to calculate a correct value. It is necessary to write the correct value to TC1C register and TC1R register first time, and then enable TC1 timer to make sure the fist cycle correct. After one TC1 overflow occurs, the TC1C register is loaded a correct value from TC1R register automatically, not program. 0B9H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TC1C TC1C7 TC1C6 TC1C5 TC1C4 TC1C3 TC1C2 TC1C1 TC1C0 Read/Write R/W R/W R/W R/W R/W R/W R/W R/W After reset 0 0 0 0 0 0 0 0 The equation of TC1C initial value is as following. TC1C initial value = 256 - (TC1 interrupt interval time * TC1 clock rate) |
|
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 |