mcu_f320.h
来自「这是nrf24lu1的无线鼠标源代码,应用平台是keil c」· C头文件 代码 · 共 34 行
H
34 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?