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

📄 mcu_f320.h

📁 这是nrf24lu1的无线鼠标源代码,应用平台是keil c
💻 H
字号:
/* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved.
 *
 * The information contained herein is confidential property of 
 * Nordic Semiconductor. The use, copying, transfer or disclosure 
 * of such information is prohibited except by express written
 * agreement with Nordic Semiconductor.
 */ 
 
/** @file
 *
 * MCU specific declarations. The function, macros and constants declared in
 * this file concerns the features of the C8051F320 MCU
 */
#ifndef MCU_F320_H__
#define MCU_F320_H__

#define GLOBAL_INT_ENABLE() do{EA = 1;}while(0)
#define GLOBAL_INT_DISABLE() do{EA = 0;}while(0)

sfr16 TMR2RL = 0xca;  // Timer2 reload value
sfr16 TMR2 = 0xcc;    // Timer2 counter

/**
 * Initialises system settings. The function calls a number of procedure to
 * set up the MCU. This include:
 *  - Setting up the system clock
 *  - Initialising the IO ports
 *  - Setting up and starting the timers
 *  .
 */
void system_init (void);

#endif /* MCU_F320_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -