Contiki-NG
Loading...
Searching...
No Matches

Driver for the Sensortag Buzzer. More...

#include "contiki.h"
#include "buzzer.h"
#include <Board.h>
#include <ti/drivers/PIN.h>
#include <ti/drivers/Power.h>
#include <ti/drivers/power/PowerCC26XX.h>
#include <ti/drivers/pin/PINCC26XX.h>
#include <ti/drivers/timer/GPTimerCC26XX.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

bool buzzer_init (void)
 Initialise the buzzer.
 
bool buzzer_running (void)
 Retrieve the buzzer state.
 
bool buzzer_start (uint32_t freq)
 Start the buzzer.
 
void buzzer_stop (void)
 Stop the buzzer.
 

Detailed Description

Driver for the Sensortag Buzzer.

Author
Edvard Pettersen e.pet.nosp@m.ters.nosp@m.en@ti.nosp@m..com

Definition in file buzzer.c.