| Electronic Components Datasheet Search |
|
TMP86CM29BUG Datasheet(PDF) 70 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86CM29BUG Datasheet(HTML) 70 Page - Toshiba Semiconductor |
|
70 / 196 page ![]() Page 56 5. I/O Ports 5.5 Port P6 (P67 to P60) TMP86CM29BUG 5.5 Port P6 (P67 to P60) Port P6 is an 8-bit input/output port which can be configured as an input or an output in one-bit unit. Port P6 is also used as an analog input, Key on Wake up input, timer/counter input and external interrupt input. Input/output modes is specified by the P6 control register (P6CR), the P6 output latch (P6DR), and ADCCR1<AINDS>. During reset, P6CR and P6DR are initialized to “0” and ADCCR1<AINDS> is set to “1”. At the same time, the input data of pins P67 to P60 are fixed to “0”. To use port P6 as an input port, external interrupt input, timer/counter input or key on wake up input, set data of P6DR to “1” and P6CR to “0”. To use it as an output port, set data of P6CR to “1”. To use it as an analog input, set data of P6DR to “0” and P6CR to “0”, and start the AD. It is the penetration electric current measures by the analog voltage. Pins not used for analog input can be used as I/O ports. During AD conversion, output instructions should not be executed to keep a precision. In addition, a variable signal should not be input to a port adjacent to the analog input during AD conversion. When the AD converter is in use (P6DR=0), bits mentioned above are read as “0” by executing input instructions. Figure 5-6 Port P6 Data input (P6DR) Data output (P6DR) Key on wake up Analog input STOPj STOP Control input AINDS SAIN P6CRi P6CRi input P6i Note 1: i = 7 to 0, j = 7 to 4 Note 2: STOP is bit 7 in SYSCR1 Note 3: SAIN is bit 0 to 3 in ADCCRA Note 4: STOPj is bit 4 to 7 in STOPCR. D Q D Q |
|
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 |