2.2I/O port Location
There are twelve
Connector of | PA0 ~ PA7 | PB0 ~ PB7 | PC0 ~ PC7 |
CN1 | Port0 | Port1 | Port2 |
CN2 | Port3 | Port4 | Port5 |
CN3 | Port6 | Port7 | Port8 |
CN4 | Port9 | Port10 | Port11 |
Refer to Sec. 2.1 for board layout & I/O port location.
Note: Each PC0 can be used as interrupt signal source. Refer to Sec. 2.5 for more information.
2.3Enable I/O Operation
When the PC is powered up, all D/I/O ports are disabled. The enable/disable of D/I/O is controlled by the RESET\ signal. Refer to Sec. 3.3.1 for more information about RESET\ signal. The
•All D/I/O operations are disabled
•All twelve D/I/O ports are configured as D/I port
•All D/O latch register are undefined.(refer to Sec. 2.4)
The user has to perform some initialization before using these D/I/Os. These recommended steps are given as follows:
Step 1: find
Step 2: enable all D/I/O operation (refer to Sec. 3.3.1)
Step 3: configure the first three ports to their expected D/I/O state & send the initial value to all D/O ports (refer to Sec. 3.3.7)
Step 4: configure the other three ports to their expected D/I/O state & send the initial value to all D/O ports(refer to Sec. 3.3.7)