Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
coded_symbol_per_bit_t Struct Reference
Type describing the number of symbols per bit in le coded PHY. More...
#include <BLETypes.h>
Inherits SafeEnum< coded_symbol_per_bit_t, uint8_t >.
Public Types | |
enum | type { UNDEFINED, S2, S8 } |
struct scoped enum wrapped by the class More... | |
Public Member Functions | |
coded_symbol_per_bit_t (type value) | |
Construct a new instance of coded_symbol_per_bit_t. | |
uint8_t | value () const |
Explicit access to the inner value of the SafeEnum instance. | |
Friends | |
bool | operator== (SafeEnum lhs, SafeEnum rhs) |
Equal to operator for SafeEnum instances. | |
bool | operator!= (SafeEnum lhs, SafeEnum rhs) |
Not equal to operator for SafeEnum instances. | |
bool | operator< (SafeEnum lhs, SafeEnum rhs) |
Less than operator for SafeEnum instances. | |
bool | operator<= (SafeEnum lhs, SafeEnum rhs) |
Less than or equal to operator for SafeEnum instances. | |
bool | operator> (SafeEnum lhs, SafeEnum rhs) |
Greater than operator for SafeEnum instances. | |
bool | operator>= (SafeEnum lhs, SafeEnum rhs) |
Greater than or equal to operator for SafeEnum instances. |
Detailed Description
Type describing the number of symbols per bit in le coded PHY.
Definition at line 725 of file BLETypes.h.
Member Enumeration Documentation
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 727 of file BLETypes.h.
Constructor & Destructor Documentation
coded_symbol_per_bit_t | ( | type | value ) |
Construct a new instance of coded_symbol_per_bit_t.
Definition at line 747 of file BLETypes.h.
Member Function Documentation
uint8_t value | ( | ) | const [inherited] |
Explicit access to the inner value of the SafeEnum instance.
Definition at line 196 of file SafeEnum.h.
Friends And Related Function Documentation
bool operator!= | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Not equal to operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs and rhs are not equal and false otherwise.
Definition at line 138 of file SafeEnum.h.
bool operator< | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Less than operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs is less than rhs and false otherwise.
Definition at line 150 of file SafeEnum.h.
bool operator<= | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Less than or equal to operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs is less than or equal to rhs and false otherwise.
Definition at line 163 of file SafeEnum.h.
bool operator== | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Equal to operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs and rhs are equal and false otherwise.
Definition at line 125 of file SafeEnum.h.
bool operator> | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Greater than operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs is greater than rhs; false otherwise.
Definition at line 176 of file SafeEnum.h.
bool operator>= | ( | SafeEnum< coded_symbol_per_bit_t, uint8_t > | lhs, |
SafeEnum< coded_symbol_per_bit_t, uint8_t > | rhs | ||
) | [friend, inherited] |
Greater than or equal to operator for SafeEnum instances.
- Parameters:
-
lhs left hand side of the comparison rhs right hand side of the comparison
- Returns:
- true if the inner value of lhs is greater than or equal to rhs; false otherwise.
Definition at line 189 of file SafeEnum.h.
Generated on Tue Aug 9 2022 00:37:37 by
