Subversion Repositories NaviCtrl

Rev

Rev 24 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24 Rev 41
Line 1... Line 1...
1
#ifndef _SSC_H
1
#ifndef _SSC_H
2
#define _SSC_H
2
#define _SSC_H
Line 3... Line -...
3
 
-
 
4
 
3
 
5
#include "91x_lib.h"
4
 
6
//________________________________________________________________________________________________________________________________________
5
//________________________________________________________________________________________________________________________________________
7
// 
6
// 
8
// Functions needed for accessing the sdcard low level via SPI.
7
// Functions needed for accessing the sdcard low level via SPI.
Line 9... Line 8...
9
//                              
8
//                              
Line 10... Line 9...
10
//________________________________________________________________________________________________________________________________________
9
//________________________________________________________________________________________________________________________________________
11
 
10
 
12
#define SD_SWITCH !(GPIO_ReadBit(GPIO5, GPIO_Pin_3))
11
#define SD_SWITCH !(GPIO_ReadBit(GPIO5, GPIO_Pin_3))
13
 
12
 
14
extern void SSC_Init(void);
13
void SSC_Init(void);
15
extern void SSC_Deinit(void);
14
void SSC_Deinit(void);
16
extern u8       SSC_GetChar (void);
15
u8       SSC_GetChar (void);
Line 17... Line 16...
17
extern void SSC_PutChar (u8);
16
void SSC_PutChar (u8);