M5Unit-RF433 0.0.1 git rev:a9e15af
Loading...
Searching...
No Matches
m5::unit::UnitSYN531R Class Reference

SYN531R unit. More...

#include <unit_SYN531R.hpp>

Inheritance diagram for m5::unit::UnitSYN531R:

Classes

struct  config_t
 Settings for begin. More...
 

Public Types

using container_type = rf433::container_type
 

Public Member Functions

virtual bool begin () override
 
virtual void update (const bool force=false) override
 
Configuration for begin
config_t config ()
 Gets the configration.
 
void config (const config_t &cfg)
 Set the configration.
 
Data
size_t available () const
 Gets the number of stored data.
 
bool empty () const
 Is empty stored data?
 
uint8_t oldest () const
 Retrieve oldest stored data.
 
uint8_t latest () const
 Retrieve latest stored data.
 
void discard ()
 Discard the oldest data accumulated.
 
void flush ()
 Discard all data.
 
const container_type & container () const
 Gets the received container reference.
 

Protected Member Functions

bool read_data ()
 

Detailed Description

SYN531R unit.

RF433 Receiver