mcu_hw_config.h
来自「用于WSN的PDA搜救器」· C头文件 代码 · 共 54 行
H
54 行
/**
* Copyright (c) 2004, Freescale Semiconductor
* Freescale Confidential Proprietary
*
* File name : mcu_hw_config.h
* Project name: SMAC (Simple Media Access Controller)
*
* Department : Freescale Radio Product Division
*
* Description : a brief description of the header file.
* Another line of the description.
*
* $Author: flr005 $
* $Date: 2006/02/23 16:24:36 $
* $Name: $
*/
#ifndef _MCU_HW_CONFIG_H
#define _MCU_HW_CONFIG_H
/* Defines */
/* MC13192 to MCU interconnects (hardware SPI assumed). */
#ifdef MCU_HW_CONFIG_GLOBALS
#define MCU_HW_CONFIG_EXT
#else
#define MCU_HW_CONFIG_EXT extern
#endif
#define MCU_LOW_POWER_WHILE() _asm wait
#define IRQFLAG IRQSC_IRQF
#define IRQACK() IRQSC |= 0x04
#define IRQInit() IRQSC = 0x14
#define IRQPinEnable() IRQSC = 0x16
/* Declarations */
//extern UINT8 gu8RTxMode; /* Global mode mirror. */
/* Function Prototypes */
void GPIOInit(void);
void UseExternalClock(void);
void UseMcuClock(void);
void MC13192Restart(void);
void MC13192ContReset(void);
void MCUInit(void);
UINT8 IRQPinLow(void);
#endif /* _MCU_HW_CONFIG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?