⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcu_hw_config.h

📁 用于WSN的PDA搜救器
💻 H
字号:
/**
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -