blinky.c

来自「ucos_ii在str710f2z6上的移植及串口驱动(包含了fifo)源代码。」· C语言 代码 · 共 19 行

C
19
字号
/******************************************************************************/
/* BLINKY.C: LED Flasher                                                      */
/******************************************************************************/
/* This file is part of the uVision/ARM development tools.                    */
/* Copyright (c) 2005-2006 Keil Software. All rights reserved.                */
/* This software may only be used under the terms of a valid, current,        */
/* end user licence from KEIL for a compatible version of KEIL software       */
/* development tools. Nothing else gives you the right to use this software.  */
/******************************************************************************/

#include "71x_lib.h"
#include "ucos_ii.h"
//#include "includes.h"

OS_CPU_SR	 INT_STOR;
OS_EVENT	 *LED_on_Sem;
OS_EVENT	 *LED_off_Sem;

#define UART0_Rx_Pin (0x0001<<8)   /*  TQFP 64: pin N

⌨️ 快捷键说明

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