| Electronic Components Datasheet Search |
|
PC87306 Datasheet(PDF) 82 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87306 Datasheet(HTML) 82 Page - National Semiconductor (TI) |
|
82 / 110 page ![]() 100 Keyboard Controller and Real-Time Clock (Continued) Section 101 will describe in detail the operation of the func- tional blocks shown in Figure 10-1 The RTC supports a 100-year calendar as well as a time-of- day clock with alarm features and battery backup Section 102 will describe the RTC in detail 101 PC87306 KBC FUNCTION 1011 Host System Interface Common Signals The keyboard controller is interfaced to the host system through a common system interface The interface consists of the address bus A0 – A15 Address Enable (AEN) signal data bus D0 – D7 and control signals IO Read (IOR) and IO Write (IOW) (see Figure 10-2 ) Address bus A0 – A15 connects to the system address SA0 – SA15 of the system The PC87306 uses the system address and the AEN signal to decode the access to the configuration register Data bus D0 – D7 connects to the peripheral bus XD0 – XD7 of the system The IOR and IOW inputs connect to the IOR and IOW lines of the system All read and write operations to the PC87306 are IO operations The PC87306 decodes the keyboard controller chip-select from A0 – A15 (60h or 64h) System Interface Registers The keyboard controller consists of three 8-bit registers Data Byte Buffer Output (DBBOUT) Data Byte Buffer Input (DBBIN) and STATUS See Figure 10-1 The DBBOUT register is used to transfer data from the key- board controller to the host system It is written by the key- board controller using the OUT DBBA instruction A data read operation by the host system reads its content The DBBIN register is used to transfer data from the host system to the keyboard controller It is written by the host system It is read by the keyboard controller using an IN A DBB instruction The STATUS register holds status information related to the system interface Figure 10-3 shows the bit definition It is read-only by the system ST7 ST6 ST5 ST4 F1 F0 IBF OBF bit 7654 3 2 1 0 FIGURE 10-3 Status Register Bit 0 OBF Output Buffer Full A 1 indicates that data is written into the DBBOUT register It is cleared by a system read operation Bit 1 IBF Input Buffer Full When a write operation is performed by the host system it will be set to 1 Upon executing an IN ADBB instruction it will be cleared Bit 2 F0 A general purpose flag that can be cleared or toggled by the keyboard controller software Bit 3 F1 CommandData Flag This flag holds the state of A2 when the host system performs a write operation It is typically used to distinguish be- tween commands and data coming from the host system For example when A2 e 1 F1 e 1 and indicates a command was written by the host When A2 e 0 F1 e 0 indicating data was written by the host Bits 4-7 ST4 – ST7 General purpose flags They can be written by a MOV STSA instruction Table 10-1 shows the register address decoding utilized by the keyboard control system interface TABLE 10-1 Summary of System Interface Operations RD WR A2 A0 – 15 Operation 0 1 0 0 Read DBBOUT 1 0 0 0 Write DBBIN F1 Clear 0 1 1 0 Read STATUS 1 0 1 0 Write DBBIN F1 Set X X X 1 No Operation A0–A15 e 00000000011000XX TLC12379 – 50 FIGURE 10-2 Keyboard Controller to Host System Interface 82 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |