📄 sbc.h
字号:
/*H**************************************************************************
* NAME: sbc.h
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE: snd1c-refd-nf-3_0_0
* REVISION: 1.3
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the SCSI command browsers definition
*
* NOTES:
* - sbc_wr_busy & sbc_rd_busy flags are set to TRUE in mass storage libraries
* when write or read is in progress.
* These events must be set to FALSE by the display task
*****************************************************************************/
#ifndef _SBC_H_
#define _SBC_H_
/*_____ I N C L U D E S ____________________________________________________*/
/*_____ M A C R O S ________________________________________________________*/
#ifdef MEM_CHIP_TYPE_DF
#define Sbc_chip_init() sbc_df_init() /* DataFlash memory chip */
#define Sbc_command_chip() sbc_command_df()
#endif
#ifdef MEM_CHIP_TYPE_NF
#define Sbc_chip_init() sbc_nf_init() /* Nand Flash memory chip */
#define Sbc_command_chip() sbc_command_nf()
#endif
#ifdef MEM_CHIP_TYPE_NO
#define Sbc_chip_init() /* No memory chip */
#define Sbc_command_chip()
#endif
#ifdef MEM_CARD_TYPE_SMC
#define Sbc_card_init() sbc_smc_init() /* SMC memory card */
#define Sbc_command_card() sbc_command_smc()
#endif
#ifdef MEM_CARD_TYPE_MMC
#define Sbc_card_init() sbc_mmc_init() /* MMC memory card */
#define Sbc_command_card() sbc_command_mmc()
#endif
#ifdef MEM_CARD_TYPE_SMC
#define Sbc_card_init() sbc_smc_init() /* SMC memory card */
#define Sbc_command_card() sbc_command_smc()
#endif
#ifdef MEM_CARD_TYPE_CF
#define Sbc_card_init() sbc_cf_init() /* CF memory card */
#define Sbc_command_card() sbc_command_cf()
#endif
#ifdef MEM_CARD_TYPE_NO
#define Sbc_card_init() /* No memory card */
#define Sbc_command_card()
#endif
/*_____ D E F I N I T I O N ________________________________________________*/
/*_____ D E C L A R A T I O N ______________________________________________*/
/* DF Support */
extern void sbc_command_df (void);
extern void sbc_df_init (void);
/* DNF Support */
extern void sbc_command_nf (void);
extern void sbc_nf_init (void);
/* MMC Support */
extern void sbc_command_mmc (void);
extern void sbc_mmc_init (void);
/* SMC Support */
extern void sbc_command_smc (void);
extern void sbc_smc_init (void);
/* CF Support */
extern void sbc_command_cf (void);
extern void sbc_cf_init (void);
#endif /* _SBC_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -