appio.c

来自「TI公司的算法标准 Framework5的源代码」· C语言 代码 · 共 36 行

C
36
字号
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) RF5_IEK 2.00.02 12-11-02 (swat-c19)" */
/*
 *  ======== appIO.c ========
 */
 
// Board includes
#include <iekc64.h>

Void appIOInit() {
    IEKC64_STATUS  status;

    //
    //  This is the first API call you need
    //  It is mandatory to initialize the board
    //
    status = IEKC64_init();

    if (!IEKC64_SUCCESS(status))
    {
        LED_set( BRACKET_RED, OFF );
        LED_set( BRACKET_GREEN, ON );
        SYS_abort("IEKC64_Init() failed with 0x%08X\n", status);
    }
    
}



⌨️ 快捷键说明

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