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

X  

TMP86CS25AFG 데이터시트(PDF) 68 Page - Toshiba Semiconductor

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

TMP86CS25AFG 데이터시트(HTML) 68 Page - Toshiba Semiconductor

Back Button TMP86CS25AFG Datasheet HTML 64Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 65Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 66Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 67Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 68Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 69Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 70Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 71Page - Toshiba Semiconductor TMP86CS25AFG Datasheet HTML 72Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 194 page
background image
Page 58
5. I/O Ports
5.5 Port P6 (P67 to P60)
TMP86CS25AFG
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 (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 6
Note 1: Do not set output mode to pin which is used for an analog input.
Note 2: When used as an INT0, ECNT and ECIN pins of a secondary function, the respective bit of P6CR should be set to “0” and
the P6 should set to “1”.
Note 3: When used as an STOP2 to STOP5 pins of Key on Wake up, the respective bit of P6CR should be set to “0”.
Note 4: When a read instruction for port P6 is executed, the bit of Analog input mode becomes read data “0”.
Note 5: Although P6DR is a read/writer register, because it is also used as an input mode control function, read-modify-write
instructions such as bit manipulate instructions cannot be used.
Read-modify-write instruction writes the all data of 8-bit after data is read and modified. Because a bit setting Input mode
read data of terminal, the output latch is changed by these instruction. So P6 port can not input data.
P6DR
(0006H)
R/W
76
543
21
0
P67
AIN7
STOP5
P66
AIN6
STOP4
P65
AIN5
STOP3
P64
AIN4
STOP2
P63
AIN3
INT0
P62
AIN2
ECNT
P61
AIN1
ECIN
P60
AIN0
(Initial value: 0000 0000)
76
543
21
0
P6CR
(000CH)
(Initial value: 0000 0000)
P6CR
I/O control for port P6
(specified for each bit)
AINDS = 1 (AD unused)
AINDS = 0 (AD used)
R/W
P6DR = “0”
P6DR = “1”
P6DR = “0”
P6DR = “1”
0
Input “0” fixed
Input mode
AD input
Input mode
1
Output mode
Output mode
Data input (P6DR)
Analog input
Data output (P6DR)
AINDS
SAIN
P6CRi
P6CRi input
P6i
Note 1: i = 7 to 0, j = 7 to 4
Note 2: STOP is bit7 in SYSCR1
Note 3: SAIN is bit 0 to 3 in ADCCRA
Note 4: STOPj is bit 4 to 7 is STOPCR.
D
Q
D
Q
STOPj
STOP
Key on Wake up



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