Nano100BN Series BSP  V3.03.002
The Board Support Package for Nano100BN Series
NuEdu-Basic01_RGBLED.h
Go to the documentation of this file.
1 /**************************************************************************/
12 #ifndef __NuEdu_Basic01_RGBLED_H__
13 #define __NuEdu_Basic01_RGBLED_H__
14 
26 /*---------------------------------------------------------------------------------------------------------*/
27 /* Functions */
28 /*---------------------------------------------------------------------------------------------------------*/
29 extern void Initial_PWM_LED(void);
30 extern void PWM_LED(void);
31 
32 #endif
33  /* end of group Nano130_Basic01_FUNCTIONS */
34  /* end of group NuEdu-SDK-Nano130_Basic01 */
36  /* end of group NANO100_Library */
38 
39 /*** (C) COPYRIGHT 2013-2014 Nuvoton Technology Corp. ***/
void Initial_PWM_LED(void)
Set multi-function pins for PWM0 channel 0,1,2.
void PWM_LED(void)
Set PWM clock enable and HCLK as PWM clock source, PWM frequency is 100Hz, duty 30% and enable output...