package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev
# Functions
BALen returns PktCnf1 field that sets the number of bytes used as base address.
LenBitN returns PktCnf0 field that sets the length of LENGTH field to n bits.
MaxLen returns PktCnf1 field that sets the maximum length of packet payload to n bytes.
S1BitN returns PktCnf0 field that sets the length of S1 field to n bits.
StatLen returns PktCnf1 field that sets the static length of payload to n bytes.
# Constants
Address event.
Bit counter reached bit count value specified in BCC.
Start bit counter.
Stop bit counter.
nRF52.
nRF5x.
An address match occurred on the last received pkt.
No address match occurred on the last received pkt.
Disable radio.
RADIO is in the Disabled state.
Disabled event.
End event.
Payload event.
Ready event.
A new RSSI sample is ready in RSSISAMPLE register.
Start measurement and take single sample of the RSSI.
Stop the RSSI measurement.
RADIO is in the RX state.
ADIO is in the RXDISABLED state.
Enable radio in RX mode.
RADIO is in the RXIDLE state.
RADIO is in the RXRU state.
Start radio.
Stop radio.
RADIO is in the TX state.
RADIO is in the TXDISABLED state.
Enable radio in TX mode.
RADIO is in the TXIDLE state.
RADIO is in the TXRU state.
# Variables
emgo:const.