전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

TMP86FS28DFG 데이터시트(PDF) 67 Page - Toshiba Semiconductor

부품명 TMP86FS28DFG
상세설명  8 Bit Microcontroller
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  TOSHIBA [Toshiba Semiconductor]
홈페이지  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP86FS28DFG 데이터시트(HTML) 67 Page - Toshiba Semiconductor

Back Button TMP86FS28DFG Datasheet HTML 63Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 64Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 65Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 66Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 67Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 68Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 69Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 70Page - Toshiba Semiconductor TMP86FS28DFG Datasheet HTML 71Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 67 / 272 page
background image
Page 55
TMP86FS28DFG
5.2 Port P1 (P10 to P17)
Port P1 is an 8-bit input/output port that can be configured as an input or an output on a bit basis. Port P1 is also
used for analog input or key-on wake-up input.
The Port P1 input/output control register (P1CR1) and Port P1 input control register (P1CR2) are used to specify
the function of each pin.
A reset initializes P1CR1 to “0”, P1CR2 to “1”, and the output latch (P1DR) to “0” so that Port P1 becomes an
input port.
To use a pin in Port P1 as an input port, set P1CR1 to “0” and then set P1CR2 to “1”. To use a pin in Port P1 as an
analog input or key-on wake-up input, set P1CR1 to “0” and then set P1CR2 to “0”.
To use a pin in Port P1 as an output port, set the corresponding bit in P1CR1 to “1”.
To read the output latch data, set P1CR1 to “1”and read P1DR. To read the pin state, set P1CR1 to “0” and P1CR2
to “1” and then read P1DR. When P1CR1 = “0” and P1CR2 = “0”, P1DR is read as “0”.
Bits not used as analog inputs are used as input/output pins. During AD conversion, however, output instructions
must not be executed to ensure the accuracy of conversion results. Also, during AD conversion, do not input signals
that fluctuate widely to pins near analog input pins.
Note: An asterisk (*) indicates that either “1” or “0” can be set.
Table 5-4 Register Programming for Port P1 (P10 to P17)
Function
Programmed Value
P1DR
P1CR1
P1CR2
Port input
*
“0”
“1”
Analog input, key-on wake-up input
*
“0”
“0”
Port “0” output
“0”
“1”
*
Port "1" output
“1”
“1”
*
Table 5-5 Values Read from P1DR according to Register Programming
Conditions
Values Read from P1DR
P1CR1
P1CR2
“0”
“0”
“0”
“0”
“1”
Pin state
“1”
“0”
Output latch state
“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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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