Enum nrf52832_pac::radio::txpower::TXPOWERR
source · pub enum TXPOWERR {
POS4DBM,
POS3DBM,
_0DBM,
NEG4DBM,
NEG8DBM,
NEG12DBM,
NEG16DBM,
NEG20DBM,
NEG40DBM,
_Reserved(u8),
}
Expand description
Possible values of the field TXPOWER
Variants§
POS4DBM
+4 dBm
POS3DBM
+3 dBm
_0DBM
0 dBm
NEG4DBM
-4 dBm
NEG8DBM
-8 dBm
NEG12DBM
-12 dBm
NEG16DBM
-16 dBm
NEG20DBM
-20 dBm
NEG40DBM
-40 dBm
_Reserved(u8)
Reserved
Implementations§
source§impl TXPOWERR
impl TXPOWERR
sourcepub fn is_pos4d_bm(&self) -> bool
pub fn is_pos4d_bm(&self) -> bool
Checks if the value of the field is POS4DBM
sourcepub fn is_pos3d_bm(&self) -> bool
pub fn is_pos3d_bm(&self) -> bool
Checks if the value of the field is POS3DBM
sourcepub fn is_neg4d_bm(&self) -> bool
pub fn is_neg4d_bm(&self) -> bool
Checks if the value of the field is NEG4DBM
sourcepub fn is_neg8d_bm(&self) -> bool
pub fn is_neg8d_bm(&self) -> bool
Checks if the value of the field is NEG8DBM
sourcepub fn is_neg12d_bm(&self) -> bool
pub fn is_neg12d_bm(&self) -> bool
Checks if the value of the field is NEG12DBM
sourcepub fn is_neg16d_bm(&self) -> bool
pub fn is_neg16d_bm(&self) -> bool
Checks if the value of the field is NEG16DBM
sourcepub fn is_neg20d_bm(&self) -> bool
pub fn is_neg20d_bm(&self) -> bool
Checks if the value of the field is NEG20DBM
sourcepub fn is_neg40d_bm(&self) -> bool
pub fn is_neg40d_bm(&self) -> bool
Checks if the value of the field is NEG40DBM