freescale
来自「Freescale 系列单片机常用模块与综合系统设计」· 代码 · 共 112 行
TXT
112 行
/** ###################################################################
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : KBI1.H
** Project : key_scan
** Processor : MC9S08JM60CLHE
** Beantype : Init_KBI
** Version : Bean 01.022, Driver 01.09, CPU db: 3.00.033
** Compiler : CodeWarrior HCS08 C Compiler
** Date/Time : 2009-10-2, 15:55
** Abstract :
** This file implements the KBI (KBI) module initialization
** according to the Peripheral Initialization Bean settings, and defines
** interrupt service routines prototypes.
** The KBI module is the serial peripheral interface module,which allows
** full-duplex, synchronous, serial communications with peripheral devices.
** The keyboard interrupt module (KBI) provides a few independently maskable
** external interrupts. When a port pin is enabled for keyboard interrupt
** function, an internal pullup/pulldown device is also enabled on the pin.
** Settings :
** Bean name : KBI1
** Device : KBI
** Settings
** Triggering sensitivity : edge
** Pins
** Pin0 : Enabled
** Pin : PTG0_KBIP0
** Pin signal :
** Pin1 : Enabled
** Pin : PTG1_KBIP1
** Pin signal :
** Pin2 : Disabled
** Pin3 : Disabled
** Pin4 : Disabled
** Pin5 : Disabled
** Pin6 : Enabled
** Pin : PTG2_KBIP6
** Pin signal :
** Pin7 : Enabled
** Pin : PTG3_KBIP7
** Pin signal :
** Interrupts
** Keyboard request
** Interrupt : Vkeyboard
** Keyboard request interrupt : Enabled
** ISR name : kbi
** Initialization
** Call Init method : yes
** Contents :
** Init - void KBI1_Init(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2008
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
#ifndef __KBI1
#define __KBI1
/* MODULE KBI1. */
/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
/* Include inherited beans */
#include "Cpu.h"
/*
** ===================================================================
** The interrupt service routine must be implemented by user in one
** of the user modules (see KBI1.c file for more information).
** ===================================================================
*/
__interrupt void kbi(void);
void KBI1_Init(void);
/*
** ===================================================================
** Method : KBI1_Init (bean Init_KBI)
**
** Description :
** This method initializes registers of the KBI module
** according to this Peripheral Initialization Bean settings.
** Call this method in user code to initialize the module.
** By default, the method is called by PE automatically; see
** "Call Init method" property of the bean for more details.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
/* END KBI1. */
#endif
/* ifndef __KBI1 */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 3.03 [04.07]
** for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?