Contiki-NG

Files

file  buzzer.c
 Driver for the Sensortag Buzzer.
 
file  buzzer.h
 Header file for the Sensortag Buzzer.
 

Functions

uint8_t buzzer_state (void)
 Retrieve the buzzer state. More...
 
void buzzer_start (int freq)
 Start the buzzer. More...
 

Detailed Description

Function Documentation

◆ buzzer_start()

void buzzer_start ( int  freq)

Start the buzzer.

Parameters
freqThe buzzer frequency

Definition at line 64 of file buzzer.c.

◆ buzzer_state()

uint8_t buzzer_state ( void  )

Retrieve the buzzer state.

Returns
1: on, 0: off

Definition at line 58 of file buzzer.c.