1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/**
********************************************************************************************************
* @file sflash.h
* @author NV_LJX
* @version V1.0.0
* @date 2016.11.28
* @brief c header file
********************************************************************************************************
* @attention
*
* Any copying, transferring or any other usage is prohibited.
*
* All copyrights reserved by Xi'an New-Vision Automotive Electronics Co., Ltd.
********************************************************************************************************
*/
//********************************************************************************************************
// @Define to prevent recursive inclusion
//********************************************************************************************************
#ifndef _SFLASH_H_
#define _SFLASH_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
//********************************************************************************************************
// @Project Includes
//********************************************************************************************************
//********************************************************************************************************
// @Macros
//********************************************************************************************************
//********************************************************************************************************
// @Defines
//********************************************************************************************************
#define SFMA0CLK_PORT (uint8_t)(21)
#define SFMA0CLK_PIN (uint8_t)(0)
#define SFMA0SSL_PORT (uint8_t)(21)
#define SFMA0SSL_PIN (uint8_t)(1)
#define SFMA0IO00_PORT (uint8_t)(21)
#define SFMA0IO00_PIN (uint8_t)(2)
#define SFMA0IO10_PORT (uint8_t)(21)
#define SFMA0IO10_PIN (uint8_t)(3)
#define SFMA0IO20_PORT (uint8_t)(21)
#define SFMA0IO20_PIN (uint8_t)(4)
#define SFMA0IO30_PORT (uint8_t)(21)
#define SFMA0IO30_PIN (uint8_t)(5)
//********************************************************************************************************
// @Global Functions
//********************************************************************************************************
/*********************************************************************************************************
** Function name : InitSeriFlashExternReadMode
** Function Description : InitSeriFlashExternReadMode
** Parameters: None
** Return: None
** Note: None
*********************************************************************************************************/
extern void InitSeriFlashExternReadMode(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif