174
Libraries
© 2008 Conrad Electronic
PortA.0
0
...
...
PortA.7
7
PortB.0
8
...
...
PortB.7
15
PortC.0
16
...
...
PortC.7
23
PortD.0
24
...
...
PortD.7
31
from here only Mega128
PortE.0
32
...
...
PortE.7
39
PortF.0
40
...
...
PortF.7
47
PortG.0
48
...
...
PortG.4
52
6.14.5 Port_Write
Port Functions
Syntax
void Port_Write(byte port,byte val);
Sub Port_Write(port As Byte,val As Byte)
Description
Writes a byte to the specified port. Only the Pins of port that are configured for output return a valid value on
their bit position
(
see Pin Assignment
of
). Is a Pin configured as input, a Port_Write()
will set an internal pull-up resistor on (bit = 1) or off (bit = 0).
See Pin Assignment
Parameter
port port number (see table)
val output byte
port number table
Definition
Value
PortA
0
PortB
1
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......