Electronic Components Datasheet Search
  English  ▼

X  

TMP88CS38FG Datasheet(PDF) 48 Page - Toshiba Semiconductor

Part # TMP88CS38FG
Description  8-bit single chip microcomputer
PDF  226 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

TMP88CS38FG Datasheet(HTML) 48 Page - Toshiba Semiconductor

Back Button TMP88CS38FG Datasheet HTML 44Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 45Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 46Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 47Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 48Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 49Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 50Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 51Page - Toshiba Semiconductor TMP88CS38FG Datasheet HTML 52Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 226 page
background image
TMP88CS38/CM38A/CP38A
2007-09-12
88CS38-48
2.2.3
Port P4 (P47 to P40)
Port P4 is an 8-bit input/output port which can be configured as an input or an output in
one-bit unit under software control. Input/output mode is specified by the corresponding bit
in the port P4 input/output control register (P4CR). Port P4 is configured as an input if its
corresponding P4CR bit is cleared to “0”, and as an output if its corresponding P4CR bit is
set to “1”. During reset, P4CR is initialized to “0”, which configures port P4 as an input. The
P4 output latches are also initialized to “1”. Data is written into the output latch regardless
of the P4CR contents. Therefore initial output data should be written into the output latch
before setting P4CR.
Port P4 is also used as a pulse width modulation (PWM) output. When used as a PWM
output pin, the output pins should be set to the output mode and beforehand the output
latch should be set to “1”.
Note:
Input mode port is read the state of input pin. When input/output mode is used mixed,
the contents of output latch setting input mode may be changed by executing bit
manipulation instructions.
7
6
5
4
3
2
1
0
P4
(00004H)
P47
7
PWM
P46
6
PWM
P45
5
PWM
P44
4
PWM
P43
3
PWM
P42
2
PWM
P41
1
PWM
P40
0
PWM
(Initial value: 1111 1111)
7
6
5
4
3
2
1
0
P4CR
(0000CH)
P47CR
P46CR
P45CR
P44CR
P43CR
P42CR
P41CR
P40CR
(Initial value: 0000 0000)
P4CR
I/O control for port P4
0: Input mode
1: Output mode
Write
only
Note 1:
i
= 7 to 0.
Note 2:
P4CR cannot used the read-modify-write instructions.
(Bit manipulation instructions such as SET, CLR, etc. and logical operation such as AND, OR, etc.)
Figure 2.2.4 Port P4 and P4CR
Data output
D
Q
STOP
OUTEN
Output latch
P4i
PWMi
P4iCR
Data input



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