English
Language : 

MC68HC908QY4A_10 Datasheet, PDF (195/200 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
A.2.5 Keyboard Interface Module (KBI) Functionality
The KBI module for the QYxA has the added capability of:
• Triggering a KBI interrupt on the rising or falling edge of an input while the QYx Classic has the
capability of triggering on falling edges only.
– A new register (Keyboard Interrupt Polarity Register) determines the polarity of KBI and the
default state of this register configures the QYxA for triggering on falling edges to be compatible
with QYx Classic.
– The QYxA now has pull down resistors for the input pins that are configured for rising edge
operation.
A.2.5.1 Registers Affected
Read:
Write:
Reset:
Bit 7
6
5
4
3
2
1
0
0
KBIP5 KBIP4 KBIP3 KBIP2 KBIP1
0
0
0
0
0
0
0
= Unimplemented
Figure A-6. Keyboard Interrupt Polarity Register (KBIPR)
Bit 0
KBIP0
0
The KBIPR allows the selection of polarity, if any of these bits are set the corresponding interrupt pin will
be configured for rising edge and a pulldown resistor will be added to the pin.
A.2.6 On-Chip Routine Enhancements
Enhancements have been made to the on-chip routines that are used for FLASH as EEPROM. Refer to
AN2346 for information about using FLASH as EEPROM.
• A new mass erase routine requires a valid FLASH address loaded into the H:X register to perform
an erase. This added step helps ensure that the erase routine is not inadvertently used to cause
an unwanted erase. Also, on-chip FLASH programming routine ERARNGE variable CTRLBYT
requires $00 for page erase and $40 for mass erase. The entire control byte must be set for proper
operation.
• Separate routines will allow easy access to perform software SCI (Serial Communications
Interface). For information on how to use on-chip FLASH programming routines refer to AN2635.
• Finally, there is improved security and robustness. The latest Monitor ROM implements updated
security checks to make the program memory more secure.
MC68HC908QYA/QTA Family Data Sheet, Rev. 3
Freescale Semiconductor
195