![]() |
NANO100_BSP V3.04.002
The Board Support Package for Nano100BN Series
|
NuEdu-Basic01 7_Segment LED driver source file for NuEdu-SDK-Nano130. More...
Go to the source code of this file.
Macros | |
#define | SEG_A_ON PA2=0 |
#define | SEG_B_ON PA3=0 |
#define | SEG_C_ON PA4=0 |
#define | SEG_D_ON PA5=0 |
#define | SEG_E_ON PA6=0 |
#define | SEG_F_ON PA7=0 |
#define | SEG_G_ON PD6=0 |
#define | SEG_H_ON PD7=0 |
#define | SEG_CONTROL1_ON PD14=1 |
#define | SEG_CONTROL2_ON PD15=1 |
#define | SEG_A_OFF PA2=1 |
#define | SEG_B_OFF PA3=1 |
#define | SEG_C_OFF PA4=1 |
#define | SEG_D_OFF PA5=1 |
#define | SEG_E_OFF PA6=1 |
#define | SEG_F_OFF PA7=1 |
#define | SEG_G_OFF PD6=1 |
#define | SEG_H_OFF PD7=1 |
#define | SEG_CONTROL1_OFF PD14=0 |
#define | SEG_CONTROL2_OFF PD15=0 |
Functions | |
void | Initial_SEG_GPIO (void) |
Set 7_Segment LED GPIO to output mode. More... | |
void | Open_Seven_Segment (void) |
This function turn on 7_Segment LED. More... | |
void | Close_Seven_Segment (void) |
This function turn off 7_Segment LED. More... | |
void | Show_Seven_Segment (unsigned char no, unsigned char number) |
This function turn on 7_Segment LED to show numbers. More... | |
NuEdu-Basic01 7_Segment LED driver source file for NuEdu-SDK-Nano130.
Definition in file NuEdu-Basic01_7_Segment.c.