EVE 1.0
Collaboration diagram for Beeper:

Functions called from application programs

void BeeperPulse (uint16_t OnTime)
 Name: BeeperPulse
Start generation of one beeper pulse. More...
 
void BeeperRepeat (uint16_t OnTime, uint32_t OffTime)
 Name: BeeperRepeat
Start generation of repeated beeper pulses. More...
 
void BeeperStop (void)
 Name: BeeperStop
Stop generation of beeper pulse or repeated beeper pulses. This function will not stop beeper click.
 
void BeeperClick (void)
 Name: BeeperClick
Start generation of a short beeper click of duration BEEPER_CLICK_TIME. This function will not stop ongoing beeper pulse or repeated beeper pulses. This sound can be used as a response of a key pressed action.
 

Detailed Description

This driver supports beeper generation/timing. Functionality included if BEEPER_ENABLED is set true:

If beeper click functions is wanted, BEEPER_CLICK_ENABLED must be set true. Beeper click pulse time is set by BEEPER_CLICK_TIME. Output code or output function for beeper is based on the inline code BeepeOn().

Function Documentation

void BeeperPulse ( uint16_t  OnTime)

Name: BeeperPulse
Start generation of one beeper pulse.

Parameters
OnTimePulse time. Resolution 1/1.024 ms, use MWORK_MSEC()
void BeeperRepeat ( uint16_t  OnTime,
uint32_t  OffTime 
)

Name: BeeperRepeat
Start generation of repeated beeper pulses.

Parameters
OnTimePulse time. Resolution 1/1.024 ms, use MWORK_MSEC()
OffTimePause time. Resolution 1/1.024 ms, use MWORK_MSEC()