Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP86FS23UG Datasheet(PDF) 71 Page - Toshiba Semiconductor

Part # TMP86FS23UG
Description  8 Bit Microcontroller
PDF  252 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP86FS23UG Datasheet(HTML) 71 Page - Toshiba Semiconductor

Back Button TMP86FS23UG Datasheet HTML 67Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 68Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 69Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 70Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 71Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 72Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 73Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 74Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 75Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 252 page
background image
Page 59
TMP86FS23UG
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 mode
is specified by the P6 control register (P6CR1) and input control register (P6CR2).
When used as an output port, the corresponding bit of P6CR1 should be set to “1”.
When used as an input port, timer/counter input or an external interrupt input, the corresponding bit of P6CR1
should be cleared to “0”, and then, the corresponding bit of P6CR2 should be set to “1”.
When used as an analog input or key on wake up input, the corresponding bit of P6CR1 should be cleared to “0”,
and then, the corresponding bit of P6CR2 should be cleared to “0” .
The output latch of each digital input port with multiple functions should be set to “0” to prevent flow-through cur-
rent. Therefore, the output latch of each port to be used for analog input should be preprogrammed to “0”. The con-
version input channel to be used is actually selected by ADCCR1<SAIN>.
During reset, the output latch (P6DR) and P6CR1 are initialized to 0“, P6CR2 is initialized to “1”.
When the bit of P6CR1 and P6CR2 is “0”, the corresponding bit data by read instruction is always “0”.
When the bit of P6CR1 is “0” and that of P6CR2 is “1”, the corresponding bit data by read instruction is a terminal
input data.
When the bit of P6CR1 is “1”, the corresponding bit data by read instruction is the value of P6DR.
Note: Asterisk (*) indicates “1” or “0” either of which can be selected.
Table 5-7 Register Programming for Multi-function Ports
Function
Programmed Value
P6DR
P6CR1
P6CR2
Port input external interrupt input or timer counter input
*
“0”
“1”
Analog input or key-on wake-up input
*
“0”
“0”
Port “0” output
“0”
“1”
*
Port “1” output
“1”
“1”
*
Table 5-8 Values Read from P6DR and Register Programming
Conditions
Values Read from P6DR
P6CR1
P6CR2
“0”
“0”
“0”
“0”
“1”
Terminal input data
“1”
“0”
Output latch contents
“1”



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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