Epson Apex 386/33 Canadian Product User Manual - Page 161

Keyboard Controller, Pin 27 - Bit, Bit 2, Pin 32, Undefined, Keyboard Inhibit Switch, Inhibited

Page 161 highlights

Keyboard Controller The keyboard controller is based on the 8042(U128) single-chip microprocessor and is used to support the PEM-3301 keyboard interface. The keyboard controller performs the following functions: Receives serial data from keyboard, checks parity, translates it into a system scan code, if necessary, transfers data to the data buffer and interrupts the processor. Executes system commands, places the results in the data buffer and interrupts the processor if necessary. Transmits the system data in the data buffer to the keyboard in the serial format along with the parity bit. Reports the response of the keyboard to the system. Reports errors to the system through the status register. The keyboard controller has two 8-bit ports. One of them serves as an input port, while the other serves as an output port. Besides these, there are two test inputs. One of them, namely TEST0, is used to monitor the state of the clock line, while the other, namely TEST1, is used to read the state of the keyboard's data line. Input Port Bit Pin 27 - Bit 0 Pin 28 - Bit 1 Pin 29 - Bit 2 Pin 30 - Bit 3 Pin 31 - Bit 4 Pin 32 - Bit 5 Pin 33 - Bit 6 Pin 34 - Bit 7 Definition Undefined Undefined Undefined Undefined Undefined Undefined Undefined Keyboard Inhibit Switch 0 Inhibited 1 Not inhibited 42 Chapter 6: Appendix

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

Keyboard Controller
The keyboard controller is based on the 8042(U128) single-chip
microprocessor and is used to support the PEM-3301 keyboard inter-
face. The keyboard controller performs the following functions:
Receives serial data from keyboard, checks parity, trans-
lates it into a system scan code, if necessary, transfers data
to the data buffer and interrupts the processor.
Executes system commands, places the results in the data
buffer and interrupts the processor if necessary.
Transmits the system data in the data buffer to the keyboard
in the serial format along with the parity bit. Reports the
response of the keyboard to the system.
Reports errors to the system through the status register.
The keyboard controller has two 8-bit ports. One of them serves as an
input port, while the other serves as an output port. Besides these,
there are two test inputs. One of them, namely TEST0, is used to
monitor the state of the clock line, while the other, namely TEST1, is
used to read the state of the keyboard’s data line.
Input Port Bit
Pin 27 - Bit
0
Pin
28
-
Bit
1
Pin
29
-
Bit 2
Pin
30
-
Bit
3
Pin
31
-
Bit
4
Pin 32
-
Bit
5
Pin 33
-
Bit
6
Pin
34
-
Bit 7
Definition
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Keyboard Inhibit Switch
0 Inhibited
1 Not inhibited
42
Chapter 6: Appendix