AskSin++
Public Member Functions | List of all members
as::Buzzer< PIN, PINTYPE > Class Template Reference
Inheritance diagram for as::Buzzer< PIN, PINTYPE >:
Inheritance graph
[legend]
Collaboration diagram for as::Buzzer< PIN, PINTYPE >:
Collaboration graph
[legend]

Public Member Functions

void init ()
 
void enabled (bool value)
 
bool on (uint16_t onticks, uint16_t offticks, int8_t repeat)
 
bool on (uint16_t ticks)
 
bool on ()
 
bool off (bool force)
 
bool off ()
 
bool active ()
 
virtual void trigger (__attribute__((unused)) AlarmClock &clock)
 
- Public Member Functions inherited from as::Alarm
virtual void trigger (AlarmClock &)=0
 
 Alarm (uint32_t t)
 
 Alarm (uint32_t t, bool asynch)
 
void set (uint32_t t)
 
void async (bool value)
 
bool async () const
 
void active (bool value)
 
bool active () const
 

Additional Inherited Members

- Public Attributes inherited from as::Alarm
uint32_t tick: 24
 
- Protected Attributes inherited from as::Alarm
bool m_Async: 4
 
bool m_Active: 4
 

Detailed Description

template<uint8_t PIN, class PINTYPE = ArduinoPins>
class as::Buzzer< PIN, PINTYPE >

Definition at line 16 of file Buzzer.h.