-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSSD_INTERFACE.h
More file actions
33 lines (26 loc) · 1.03 KB
/
SSD_INTERFACE.h
File metadata and controls
33 lines (26 loc) · 1.03 KB
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
/***************************************************************/
/***************************************************************/
/************ Author: A. S. Eldesouky ************/
/************ Layer: HAL ************/
/************ SWC: SSD ************/
/************ Date: 2-9-2020 ************/
/************ Version: 1.00 ************/
/***************************************************************/
/***************************************************************/
#ifndef SSD_INTERFACE_H_
#define SSD_INTERFACE_H_
#define COMMON_ANODE_TYPE 0
#define COMMON_CATHODE_TYPE 1
#define SSD_OFF 0
#define SSD_ON 1
typedef struct
{
uint8 SSD_uint8PORT ;
uint8 SSD_uint8EN_PORT ;
uint8 SSD_uint8EN_PIN ;
uint8 SSD_uint8TYPE ;
} SSD_CONFIG ;
uint8 SSD_uint8DISPLAYNUMBER (SSD_CONFIG * ssd , uint8 Copy_uint8Number) ;
uint8 SSD_uint8DISPLAYChar (SSD_CONFIG * ssd , uint8 Copy_uint8Char) ;
uint8 SSD_uint8CONTROL (SSD_CONFIG * ssd , uint8 Copy_uint8State) ;
#endif