|
||
| Description: | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A Hardware Object that provides expanded I/O by multiplexing I/O Lines 8 - 15 by I/O Lines 5 - 7. |
||||||||||||||||||||
| Operation: | ||||||||||||||||||||
| An oDIO16 Object expands the available I/O lines by multiplexing I/O Lines 8 - 15 with I/O Lines 5 - 7 to provide 32-bits of I/O while only using 11 I/O lines. the 32-bits of I/O is arranged as a 16-Bit input port and a 16-Bit output port Pins 5,6 and 7 are used to select 1 of the 4 8-bit sections of the 32 bit I/O.
This Object was designed so that Pins 5,6 and 7 connect to the A,B,C pins of an 74ls138 IC.
The 74ls138 chip converts the 3 binary bits to one of 8 outputs. Out of the 8 outputs, only 4 are used.
Y4 and Y6 can be connected to the Output Enable pin (pin 19) of two 74ls245 8-bit transceiver ICs. When Y4 or Y6 goes low, the outputs of the 74ls245 IC will be read by I/O lines 8 - 15, thereby transferring the data that is present on the inputs of the 74ls245 into the Object. Y0 and Y2 can be connected to the Latch Enable pin (pin 11) of two 74ls373 8-bit latch ICs. When Y0 or Y2 goes low, the Objects data will be presented on I/O lines 8 - 15, thereby transferring the data into the inputs of the 74ls373 IC. The remaining 4 outputs Y1, Y3, Y5 and Y7 are used as OFF positions for each of the 4 8-bits sections. One possible use of these lines is a status indicator that indicates when the Object is operating. By connecting two LEDs across Y7 and Y5, (with one of the the LED's anode connected to Y5 and the other LED's anode connected to Y7) both LEDs will flash rapidly when the Object is operating. The Value property is a dual purpose property. When read, the 16-Bit value of the inputs on the two 74ls245 ICs is returned. When written to, the 16-Bit value written is latched into the two 74ls373 ICs |
||||||||||||||||||||
| Remarks: | ||||||||||||||||||||
1 Physical 16-bit I/O expander is implemented within the OOPic. |
||||||||||||||||||||
| Storage size & Availability: | ||||||||||||||||||||
The following table lists the size and availability of the oDio16X Object:
|
||||||||||||||||||||
| Properties: | ||||||||||||||||||||
The following table lists the Properties of the oDIO16x Object:
|
||||||||||||||||||||
| Example: | ||||||||||||||||||||
In the following example, the oDio1 Object is used.
|
||||||||||||||||||||
| See Also: | ||||||||||||||||||||
oDio16 - An Object that provides a 16-bit digital I/O. |
||||||||||||||||||||