CY82C693UB Cypress Semiconductor Corporation., CY82C693UB Datasheet - Page 105

no-image

CY82C693UB

Manufacturer Part Number
CY82C693UB
Description
Hypercache Tm / Stand-alone Pci Peripheral Controller With Usb
Manufacturer
Cypress Semiconductor Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY82C693UB-NC
Manufacturer:
PHILIPS
Quantity:
192
Part Number:
CY82C693UB-NC
Manufacturer:
CYPRESS
Quantity:
300
Part Number:
CY82C693UB-NC
Manufacturer:
CYPRESS
Quantity:
25
CY82C693UB Keyboard/Mouse Controller Registers
The Keyboard controller inside the CY82C693UB is capable
of supporting both AT and PS/2 modes of operation. In PS/2
mode, a PS/2 style mouse is supported without the need of an
external controller.
The keyboard controller processes scan codes whenever a
keyboard key is pressed and released. When a key is pressed,
a “make” code is sent from the controller in the keyboard to the
controller in the CY82C693UB. If the key is not released im-
mediately, “make” codes are continually sent to the system.
When the key is finally released, a “break” is recognized by the
system.
Special function keys (such as the <Shift> key or the <Cntrl>
key) are used to set status flags inside the keyboard controller.
The status flags can alter the function of other keystrokes.
Keyboard/Mouse Register 0: Status Register (Read Only) - I/O Read to address 64H
Bit
7
6
5
4
3
2
1
0
Function
Parity Error Detection:
0:
1:
The keyboard must transmit odd parity.
Timeout Detection:
0:
1:
Mouse Output Buffer Full Flag:
0:
1:
Keyboard Lock Status:
0:
1:
Command/Data Flag:
0:
1:
This bit can be used to indicate to the system whether the byte in the input buffer is a command
byte or a data byte.
System Flag:
This bit will reflect the value written to the Set System Flag bit of the command byte.
Input Buffer (Port 60H or 64H) Full Flag:
0:
1:
A read of the input buffer will reset this bit to zero.
Output Buffer (Port 60H only) Full Flag:
0:
1:
A read of the output buffer will reset this bit to zero.
No parity error was transmitted from the keyboard.
A parity error was detected in the last byte transmitted.
No timeout was detected.
A timeout occurred during the transmission of data between the controller and the
keyboard.
No mouse data is present in the output buffer.
Mouse data is present in the output buffer.
KEYLOCK is active. The keyboard controller is inhibited from receiving scan codes.
KEYLOCK is inactive. Normal operation.
Data byte has been written to 60H.
command byte has been written to 64H.
No data is present in the input buffer.
Data is present in the input buffer.
No data is present in the output buffer.
Data is present in the output buffer.
PRELIMINARY
105
The keyboard controller interrupts the processor through IRQ1
and the mouse controller interrupts the processor through
IRQ12. These interrupts will cause the operating systems to
enter their scan code interpretation routines.
The keyboard/mouse controller control registers are accessed
using I/O port locations 64H and 60H. Status is read, by per-
forming a read to I/O port 64H. The keyboard controller’s input
buffer may be addressed at I/O port 60H or 64H (Data bytes
are written to 60H and command bytes are written to 64H). The
output buffer can contain scan codes from the keyboard or any
requested data bytes from the controller. It can be accessed
by reading I/O port 60H.
CY82C693UB
Default
0
0
0
0
0
0
0
0

Related parts for CY82C693UB