atMETEO
An ATmega based weather station
Classes | Namespaces | Typedefs | Enumerations
bitdecoder.h File Reference

Sensors::BitDecoder transforms continuous bit streams (for example from RF demodulation) into bytes. More...

#include <limits.h>
#include "utils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Sensors::MsbBitNumbering< T >
 Configuration parameter for BitDecoder that leads to new bits being added with MSB bit numbering (most significant bit first). More...
 
struct  Sensors::LsbBitNumbering< T >
 Configuration parameter for BitDecoder that leads to new bits being added with LSB bit numbering (least significant bit first). More...
 
struct  Sensors::NoParity< T >
 Configuration parameter for BitDecoder that disables parity checking. More...
 
struct  Sensors::EvenParity< T >
 Configuration parameter for BitDecoder that enables even parity checking. More...
 
struct  Sensors::OddParity< T >
 Configuration parameter for BitDecoder that enables odd parity checking. More...
 
class  Sensors::BitDecoderBase< T, BitDecoder >
 BitDecoder base implementation. More...
 
class  Sensors::BitDecoder< T, TParity, TBitNumbering >
 Applies bit numbering and a parity method to transform continuous bit streams (for example from RF demodulation) into bytes. More...
 

Namespaces

 Sensors
 Namespace containing all symbols of the Sensors library.
 

Typedefs

template<template< typename > class TParity, template< typename > class TBitNumbering>
using Sensors::ByteDecoder = BitDecoder< uint8_t, TParity, TBitNumbering >
 A ByteDecoder is a BitDecoder operating on a single data byte. More...
 

Enumerations

enum  Sensors::BitDecoderStatus : uint8_t { Sensors::BitDecoderStatus::Complete = 0, Sensors::BitDecoderStatus::Incomplete, Sensors::BitDecoderStatus::ParityError }
 BitDecoder status returned from BitDecoder::addBit(). More...
 

Detailed Description

Sensors::BitDecoder transforms continuous bit streams (for example from RF demodulation) into bytes.