intel 8042简介(intel 8042简介).docVIP

  • 75
  • 0
  • 约 14页
  • 2017-09-05 发布于河南
  • 举报
intel 8042简介(intel 8042简介)

intel 8042简介(intel 8042简介) Intel 8042 introduction 8042 keyboard controller used in the AT, has an internal buffer state, for the detection of the keyboard state outside; an output port and an input port, used to do Use the control signals and the outside; an input buffer and an output buffer is used to store the data, and the interface of the outside world, including command and information etc.. The following is the significance of these components. 1. state buffer 7 = = 6 bit parity error when receiving more than 5 more than the transmission error = error bit 4 = keyboard enable switch table 0 disabled, table 1 can. 3 = command / data indicator, 0 tables, 1 Table 2 = system command flag, set by the outside world 1 = input buffer is full, but has not yet been read 8042 bit 0 = output buffer is full, but has not yet been read to go outside Note: the status register for a read buffer, to a state of the keyboard response. For example, a 8042 used for odd parity, because If the keyboard data detection is achieved even parity words, a value of 7 will be set up to 1, in order to reflect the parity error. A value of 3 is controlled by the line In response to the input buffer, the data type (i.e. the command or data), for the 8042 decision way. In AT, the command is written by I/O Port 64H, and the data is written by I/O Port 60h. Therefore, if the input buffer is the data by the former (Port 64H) writer, A value of 3 will be set up to 1, if the latter (Port 60H) by the writer, is a value of 3 will set up 0. The 2 bit value transferred from outside Command, please refer to the following command. Bit 1 and bit 0 is used to indicate whether the 8042 external buffer to read or write data. When a 1 to 0, the outside world can then data sent to the input buffer 8042; when the 0 is 1, the outside world can read data from the output buffer 8042. When not This is the case, outside the program must have been waiting for the situation to set up, or can not be I/O action on the 8042

文档评论(0)

1亿VIP精品文档

相关文档