Init_KBI
 
Component Init_KBI for HC08
Keyboard Interrupt Module (KBI)
Device Initialization
(Description of the component parameters.)
  • Device - Selection of the KBI device module
  • Settings - Common KBI module settings.
    • Triggering sensitivity - This item controls the triggering sensitivity of the keyboard interrupt pins.
      This item modifies the MODEK bit in the KBSCR register.

      There are 2 options:
      • edge: Keyboard interrupt request on edges.
      • edge and level: Keyboard interrupt request on edges and levels.

  • Pins - Module pins/signals settings.
    • Pin0 - This description is same for all pins of KBI module.
      Group of pin 0 for external interrupt. Item enables the corresponding keyboard interrupt pin to latch KBI interrupt requests.
      This item modifies the KBIEx bit in the KBIER register.
      The following items are available only if the group is enabled (the value is "Enabled"):
      • Pin - Pin 0 for external interrupt (for information only)
      • Settings supported for several HC08 derivatives only.
        • Interrupt polarity - Interrupt polarity. This item determines the polarity of the enabled keyboard interrupt pin and enables the appropriate pull-up or pull-down device.
          This item modifies the KBIPx bit in the KBIPR register.

          There are 2 options:
          • low level and/or falling edge: Keyboard polarity is low level and/or falling edge
          • high level and/or rising edge: Keyboard polarity is high level and/or rising edge

  • Interrupts - Interrupts settings of the module.