Mbed OS Reference
Loading...
Searching...
No Matches
coded_symbol_per_bit_t Struct Reference

Type describing the number of symbols per bit in le coded PHY. More...

#include <BLETypes.h>

Inheritance diagram for coded_symbol_per_bit_t:
SafeEnum< coded_symbol_per_bit_t, uint8_t >

Public Types

enum  type { UNDEFINED , S2 , S8 }
 struct scoped enum wrapped by the class More...
 
typedef uint8_t representation_t
 Type of the representation. More...
 

Public Member Functions

 coded_symbol_per_bit_t (type value)
 Construct a new instance of coded_symbol_per_bit_t. More...
 
uint8_t value () const
 Explicit access to the inner value of the SafeEnum instance. More...
 
const uint8_t * storage () const
 Return a pointer to the inner storage. More...
 

Detailed Description

Type describing the number of symbols per bit in le coded PHY.

Definition at line 819 of file common/BLETypes.h.

Member Typedef Documentation

◆ representation_t

typedef uint8_t representation_t
inherited

Type of the representation.

Definition at line 115 of file common/SafeEnum.h.

Member Enumeration Documentation

◆ type

enum type

struct scoped enum wrapped by the class

Enumerator
UNDEFINED 

The Number of symbol used to code a bit is undefined.

S2 

Two symbols to code a bit.

S8 

Eight symbols to code a bit.

Definition at line 821 of file common/BLETypes.h.

Constructor & Destructor Documentation

◆ coded_symbol_per_bit_t()

Construct a new instance of coded_symbol_per_bit_t.

Definition at line 841 of file common/BLETypes.h.

Member Function Documentation

◆ value()

uint8_t value ( ) const
inherited

Explicit access to the inner value of the SafeEnum instance.

Definition at line 204 of file common/SafeEnum.h.

◆ storage()

const uint8_t * storage ( ) const
inherited

Return a pointer to the inner storage.

Definition at line 211 of file common/SafeEnum.h.