| NANO100_BSP V3.05.000 The Board Support Package for Nano100BN Series

Macros | Functions
NuEdu-Basic01_7_Segment.c File Reference

NuEdu-Basic01 7_Segment LED driver source file for NuEdu-SDK-Nano130. More...

`#include <stdio.h>`
`#include "Nano100Series.h"`
`#include "NuEdu-Basic01_7_Segment.h"`
Include dependency graph for NuEdu-Basic01_7_Segment.c:

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...

## Detailed Description

NuEdu-Basic01 7_Segment LED driver source file for NuEdu-SDK-Nano130.

Version
  V1.00

Revision
  7

Date
  14/10/17 2:50p

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.

Definition in file NuEdu-Basic01_7_Segment.c.