m54455evb_fat.h

来自「Freescale MCF5445evb 参考测试代码」· C头文件 代码 · 共 61 行

H
61
字号
/*! * \file    m54455evb_fat.h * \brief   Factory Acceptance Test for the M54455EVB (aka Jamaica) * \author  Michael Norman * \version $Revision: 1.2 $ */ #ifndef __M54455EVB_FAT_H__#define __M54455EVB_FAT_H__/********************************************************************//* * Define the location where the results will be stored */#define RESULTS		*((uint32 *)(SRAM_ADDRESS))/*  * Pass/fail flags for the various tests */#define M54455EVB_FAT_FLASH0        (0)#define M54455EVB_FAT_FLASH1        (1)#define M54455EVB_FAT_ETH0_PHY      (2)#define M54455EVB_FAT_ETH0_CBL      (3)#define M54455EVB_FAT_ETH1_PHY      (4)#define M54455EVB_FAT_ETH1_CBL      (5)#define M54455EVB_FAT_SDRAM         (6) #define M54455EVB_FAT_SPIFLASH      (7)#define M54455EVB_FAT_ULPI          (8)#define M54455EVB_FAT_UART0         (9)#define M54455EVB_FAT_UART1         (10)#define M54455EVB_FAT_AUDIO         (11)#define M54455EVB_FAT_LEDS          (12)#define M54455EVB_FAT_PASS          (0x0FFF0000)/*  * Ethernet test types */typedef enum {    INT_LOOPBACK,    PHY_LOOPBACK,    CBL_LOOPBACK} ETH_TEST_TYPE; /* * Prototypes */int flash0_test(void);int flash1_test(void);int sdram_test(void);int uart0_test(void);int uart1_test(void);int audio_test(void);int pci_test(void);int eth_test(int n, ETH_TEST_TYPE test);int spiflash_test (void);int ulpi_test(void);/********************************************************************/#endif /* __M54455EVB_FAT_H__ */

⌨️ 快捷键说明

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