| Electronic Components Datasheet Search |
|
PC87306 Datasheet(PDF) 85 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87306 Datasheet(HTML) 85 Page - National Semiconductor (TI) |
|
85 / 110 page ![]() 100 Keyboard Controller and Real-Time Clock (Continued) R current limiting resistor A small-value series current limiting resistor is recommended when PORT PINS are used as inputs TLC12379 – 55 FIGURE 10-9 Using Port Pins as Inputs When the port line is used as an output an active pull-up technique is used (instead of a traditional pull-up resistor) which turns on Q3 only when Q2 is off hence eliminating a steady current flow Open-Collector Outputs In order to reduce the glue logic used in a PC-AT compatible environment four dedicated open-collector outputs are pro- vided KBCLK KBDAT MCLK and MDAT KBCLK is the complement of P26 KBDAT is the complement of P27 MCLK is the complement of P23 MDAT is the complement of P22 These four drivers can drive 16 mA making them suitable for driving keyboard and mouse cables TEST0 and TEST1 are internally connected to KBCLK and KBDAT re- spectively in the PC-AT compatible applications P10 and P11 are connected internally to KBDAT and MDAT respec- tively Test Inputs KBCLK and MCLK are two dedicated input pins Conditional jump instructions directly check the level of these two pins MCLK also serves as the event counter input 1015 TimerCounter The keyboard controller is equipped with an 8-bit counter which can be used as a timer or an event counter Figure 10-10 shows the two different clock sources for the counter The clock source is selected by software Timer Operation The counter can be set to the timer operation mode by con- necting its clock source to the internal timing generator The clock frequency to the timer is equal to the oscillator fre- quency divided by 480 The initial value of the timer is programmable After the tim- er is started (by STRT T instruction) it counts up continu- ously until it is stopped or the keyboard controller is reset The Timer Overflow Flag is set when the count value over- flows from FFh back to 00h The Timer Overflow Flag can be tested by a conditional jump instruction (JTF) This in- struction also resets the flag When the timer interrupt is enabled an interrupt occurs when the timer overflows This is discussed more detail in the interrupt section Event Counter Operation When the clock input of the counter is switched to the exter- nal input (MCLK) it essentially becomes an event counter The falling edge of the signal on the MCLK pin causes the counter to increment Timer Overflow Flag and Timer inter- rupt operate in the same way as they do in the timer mode 1016 Interrupts The keyboard controller of the PC87306 provides 2 different internal interrupts They are the Input Buffer Full (IBF) inter- rupt and Timer Overflow interrupt These two interrupts can be independently enabled or disabled by software Both of them are disabled when the chip comes out from reset TLC12379 – 56 FIGURE 10-10 Timing Generation and Timer Circuit 85 |
|
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 |