NetBurner 3.5.0
PDF Version
 
sdioBsp.h
1/*NB_REVISION*/
2
3/*NB_COPYRIGHT*/
4
5#ifndef _SDIOBSP_H
6#define _SDIOBSP_H
7
8#include <basictypes.h>
9/*
10 ******************************************************************************
11 *
12 * Debugging
13 *
14 ******************************************************************************
15 */
16#define SDIO_DEBUG_INT (1)
17
18/*
19 ******************************************************************************
20 *
21 * C Platform Functions
22 *
23 ******************************************************************************
24 */
25
26/*
27 *****************************************************************************-
28 *
29 * Set up access
30 *
31 * Parameters:
32 * None
33 *
34 * Return:
35 * TRUE if OK, FALSE otherwise
36 *
37 * Notes:
38 * None
39 *
40 *****************************************************************************-
41 */
42BOOL SdioBspSetupHardware(void);
43
44/*
45 *****************************************************************************-
46 *
47 * Assert SDIO chip select/deselect
48 *
49 * Parameters:
50 * pin - Pin number, 0 none
51 *
52 * Return:
53 * None
54 *
55 * Notes:
56 * Implemented for MOD-DEV-70 and MOD-DEV-100
57 *
58 *****************************************************************************-
59 */
60void SdioAssertChipSelect(int pin);
61void SdioDeassertChipSelect(int pin);
62
63#endif /* _SDIOBSP_H */