📄 bsp.h
字号:
/******************************************************************************
Copyright (c) 2006 by RockOS.
All rights reserved.
This software is supported by Rock Software Workroom.
Any bugs please contact the author with e-mail or QQ:
E-mail : baobaoba520@yahoo.com.cn
QQ : 59681888
*******************************************************************************
File name : bsp.h
Description : the bsp header file for RockOS.
:
Auther : sunxinqiu
History :
2006-3-15 first release.
******************************************************************************/
#ifndef __BSP_H__
#define __BSP_H__
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "44b.h"
#include "44b_isr.h"
#include "44b_lib.h"
#include "arm_core.h"
#ifdef __cplusplus
extern "C" {
#endif
#define OSRunInd() flash_led()
#define OS_putch(ch) UART_sendChar(UART_CH0, ch)
#define OS_putstring(szStr) UART_sendString(UART_CH0, szStr)
#define OS_puterror(szStr) do{SET_COLOR_YELLOW();UART_sendString(UART_CH0, szStr);SET_COLOR_DEFAULT();}while(0)
void root(void);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -