📄 mcu_f320.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 + -