
Hercules-EBX CPU User Manual V1.02
Page 69
Base + 18
Read/Write
Digital I/O Port C
Bit
No.
7 6 5 4 3 2 1 0
Name
DIOC7 DIOC6 DIOC5 DIOC4 DIOC3 DIOC2 DIOC1 DIOC0
Base + 19
Read/Write
Digital I/O Port D
Bit
No.
7 6 5 4 3 2 1 0
Name
DIOD7 DIOD6 DIOD5 DIOD4 DIOD3 DIOD2 DIOD1 DIOD0
Base + 20
Read/Write
Digital I/O Port E
Bit
No.
7 6 5 4 3 2 1 0
Name
DIOE7 DIOE6 DIOE5 DIOE4 DIOE3 DIOE2 DIOE1 DIOE0
Port E shares device pins with 4 counter/timer signals and 4 PWM outputs. The function of these two
groups of 4 pins is controlled with register bits DIOCTR1 and DIOCTR0:
DIOCTR1 0 = digital I/O lines DIOE7-4 appear on DIOE7-4 pins of I/O connectors
1 = counter signals appear on DIOE7-4 pins of I/O connectors
DIOCTR0 0 = digital I/O lines DIOE3-0 appear on DIOE3-0 pins of I/O connectors
1 = PWM signals appear on DIOE3-0 pins of I/O connectors
(See Base + 12 Configuration Register for details)
Base + 22
Write
Digital I/O Configuration / Bit Programming Register
Bit
No.
7 6 5 4 3 2 1 0
Name MODE
P2
P1 PO/DIRE B2/DIRD B1/DIRC B0/DIRB D/DIRA
MODE
Indicates port direction or bit programming mode: 0 = port direction, 1 = bit
programming
When MODE = 1, this register provides a quick way to program individual digital I/O bits:
P2-0
Port no.: A = 0, B = 1, C = 2, D = 3, E = 4
B2-0
Bit no., 0-7
D
Bit value, 0 or 1
When MODE = 0, this register is used to configure the direction of the digital I/O ports:
DIRE-A
Direction for ports A – E: 0 = input, 1 = output
On power-up or system reset, all ports are set to input mode and the contents of the
output registers are set to 0.
Содержание HERCULES-EBX HRC400-5A128
Страница 9: ...Hercules EBX CPU User Manual V1 02 Page 9 3 HERCULES BOARD DRAWING...
Страница 118: ...Hercules EBX CPU User Manual V1 02 Page 118 Figure 14 Hercules EBX Cable Kit...
Страница 121: ...Hercules EBX CPU User Manual V1 02 Page 121...
Страница 123: ...Hercules EBX CPU User Manual V1 02 Page 123...