Latch-Up Protection

The parallel port incorporates chip protection circuitry on some inputs, designed to minimize the possibility of CMOS “latch up” due to a printer or other peripheral being powered up while the Little Board P6d system is turned off.

Parallel Port Registers

The low-level software interface to the parallel port consists of eight addressable registers. The address map of these registers is shown in Table 2-21.

Table 2-21. Parallel Port Register Map

Register Name

Address

Data Port

Base address

Status Port

Base address + 1

Control Port

Base address + 2

EPP Address Port

Base address + 3

EPP Data Port 0

Base address + 4

EPP Data Port 1

Base address + 5

EPP Data Port 2

Base address + 6

EPP Data Port 3

Base address + 7

Note: EPP registers are only accessible when in EPP mode

Standard and Bidirectional Operation

You can use the parallel port as a standard output-only printer port or as a PS/2-compatible bidirectional data port with up to 12 output lines and 17 input lines. All data and interface control signals are TTL-compatible. Set the parallel port’s default mode using Setup.

Using the Parallel Port in Bidirectional Mode

To use the port as a bidirectional data or digital control port you must set the default mode to bidirectional in Setup or put it in bidirectional mode with a BIOS call. The following code example shows how to set the parallel port mode to bidirectional.

;----------------------------------------------------------

; Code to set the parallel port mode to bidirectional

;----------------------------------------------------------

 

 

 

 

MOV

AH,0CDh

; AMPRO

command

 

MOV

AL,0Ch

;

AMPRO

function

MOV

BX,01h

;

Extended mode

(use 00 to set output-only mode)

INT

13h

 

 

 

 

Within bidirectional mode, the port can be in its input state or output state. The code shown above leaves the port in its input state. An IN instruction of I/O address 378h reads the current state of the data lines.

2-22

Page 40
Image 40
Ampro Corporation 5001451A manual Latch-Up Protection, Parallel Port Registers, Standard and Bidirectional Operation

5001451A specifications

Ampro Corporation is known for its commitment to quality and innovation, particularly in the field of embedded computing solutions. One of its standout products, the Ampro Corporation 5001451A, is a robust and versatile embedded computing platform designed to meet the demanding needs of industrial applications.

The 5001451A features a compact and modular design that allows for flexibility and ease of integration into various systems. It is built around a powerful processor, ensuring high performance for data-intensive operations. This embedded platform can support various operating systems, giving developers the freedom to choose the environment that best suits their project requirements. Additionally, the system's architecture is optimized for low power consumption, which is critical for applications where energy efficiency is paramount.

One of the key characteristics of the 5001451A is its extensive I/O capabilities. It includes multiple ports for serial communication, USB, and Ethernet, making it highly adaptable for different connectivity needs. The system also supports various expansion options, allowing users to add additional functionalities as required. This adaptability is essential for industries such as telecommunications, transportation, and medical devices, where specific operational demands vary widely.

Moreover, the 5001451A is designed with durability in mind. It can operate effectively in challenging environments, with features such as extended temperature ranges and resistance to shock and vibration. This ruggedness makes it an ideal choice for deployment in outdoor installations or industrial settings where equipment is subjected to harsh conditions.

The product also integrates advanced security features to protect against cyber threats, which is increasingly important in today's connected world. With built-in encryption and secure boot capabilities, the 5001451A ensures that sensitive data is safe and that the system remains reliable against unauthorized access.

In summary, the Ampro Corporation 5001451A stands out as a powerful, flexible, and reliable embedded computing solution. Its combination of performance, modularity, durability, and security makes it an excellent choice for a wide range of industrial applications, making it a go-to option for developers and engineers seeking a dependable embedded platform. With the ongoing advancements in technology, the 5001451A is well-positioned to adapt to future challenges and opportunities in the ever-evolving landscape of embedded systems.