bspclean.c

来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 28 行

C
28
字号
/*  bsp_cleanup() * *  This routine cleans up in the sense that it places the board *  in a safe state and flushes the I/O buffers before exiting.  * *  INPUT:  NONE * *  OUTPUT: NONE * *  COPYRIGHT (c) 1989-1999. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: bspclean.c,v 1.2.4.1 2003/09/04 18:44:32 joel Exp $ */#include <bsp.h>void bsp_cleanup(void){    /* interrupt driven stdio must be flushed */    _CPU_ISR_Set_level( 7 );    //_UART_flush();}

⌨️ 快捷键说明

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