Contiki-NG
Files | Functions

Files

 
 

Functions

bool buzzer_running (void)
 Retrieve the buzzer state. More...
 
bool buzzer_start (uint32_t freq)
 Start the buzzer. More...
 

Detailed Description

Function Documentation

◆ buzzer_running()

bool buzzer_running ( void  )

Retrieve the buzzer state.

Returns
Running status of the buzzer.
Return values
0Buzzer is off
1Buzzer is on

Definition at line 100 of file buzzer.c.

◆ buzzer_start()

bool buzzer_start ( uint32_t  freq)

Start the buzzer.

Parameters
freqThe buzzer frequency in Hz.

Definition at line 106 of file buzzer.c.