.N. Register & Description
1 Status Register
The status register contains bits that can be read by the host. These bits indicate states such as whether the current command has completed, whether a byte is available to be read from the data-in register, and whether there has been a device error.
2 Control register
The control register can be written by the host to start a command or to change the mode of a device. For instance, a certain bit in the control register of a serial port chooses between full-duplex and half-duplex communication, another enables parity checking, a third bit sets the word length to 7 or 8 bits, and other bits select one of the speeds supported by the serial port.
3 Data-in register
The data-in register is read by the host to get input.
4 Data-out register
The data out register is written by the host to send output.
.N. Register & Description
1 Status Register
The status register contains bits that can be read by the host. These bits indicate states such as whether the current command has completed, whether a byte is available to be read from the data-in register, and whether there has been a device error.
2 Control register
The control register can be written by the host to start a command or to change the mode of a device. For instance, a certain bit in the control register of a serial port chooses between full-duplex and half-duplex communication, another enables parity checking, a third bit sets the word length to 7 or 8 bits, and other bits select one of the speeds supported by the serial port.
3 Data-in register
The data-in register is read by the host to get input.
4 Data-out register
The data out register is written by the host to send output.
การแปล กรุณารอสักครู่..
