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

Macros | Functions
NuEdu-Basic01_Buzzer.c File Reference

NuEdu-Basic01 Buzzer driver source file. More...

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

Go to the source code of this file.

## Macros
#define | Buzzer_Power_ON PE6=1
| Control Buzzer module power on. More...
#define | Buzzer_Power_OFF PE6=0
| Control Buzzer module power down. More...

## Functions
void | Initial_PWM_GPIO (void)
| This function config PC.13 multi-function for PWM to drive Buzzer module, and config PE.6 multi-function for GPIO to control Buzzer power. More...
void | Open_Buzzer (void)
| This function enable PWM1 module clock and set clock source to start Buzzer module. More...
void | Write_Buzzer (unsigned int frequence, unsigned int duty)
| This function set PWM output frequence and duty to drive Buzzer module. More...
void | Close_Buzzer (void)
| This function power down the Buzzer module. More...

## Detailed Description

NuEdu-Basic01 Buzzer driver source file.

Version
  V1.00

Revision
  3

Date
  14/09/12 3:52p

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

Definition in file NuEdu-Basic01_Buzzer.c.