Wireless M-Bus#
Wireless M-Bus (WMBUS) configuration.
Enumerations#
The RX variant of the WMBUS T+C PHY.
Functions#
Configure WMBUS simultaneous M2O RX of T and C modes feature.
Enumeration Documentation#
RAIL_WMBUS_Phy_t#
RAIL_WMBUS_Phy_t
The RX variant of the WMBUS T+C PHY.
Enumerator | |
---|---|
RAIL_WMBUS_ModeTFrameA | RAIL_RxPacketDetails_t::subPhyId indicating a mode T frame A packet |
RAIL_WMBUS_ModeCFrameA | RAIL_RxPacketDetails_t::subPhyId indicating a mode C frame A packet |
RAIL_WMBUS_ModeCFrameB | RAIL_RxPacketDetails_t::subPhyId indicating a mode C frame B packet |
49
of file protocol/wmbus/rail_wmbus.h
Function Documentation#
RAIL_WMBUS_Config#
RAIL_Status_t RAIL_WMBUS_Config (RAIL_Handle_t railHandle, bool enableSimultaneousTCRx)
Configure WMBUS simultaneous M2O RX of T and C modes feature.
[in] | railHandle | A RAIL instance handle. |
[in] | enableSimultaneousTCRx | true to enable WMBUS simultaneous M2O RX of T and C modes. |
Returns
Status code indicating success of the function call.
If simultaneous M2O RX of T and C modes is enabled, when PHY_wMbus_ModeTC_M2O_100k_frameA is loaded, mode T Frame A and mode C frame A/B can be received. The mode and frame type of the last received packet is available in RAIL_RxPacketDetails_t::subPhyId.
Note
This WMBUS feature is supported only on some parts. The preprocessor symbol RAIL_WMBUS_SUPPORTS_SIMULTANEOUS_T_C_RX and the runtime function RAIL_WMBUS_SupportsSimultaneousTCRx() may be used to test for support.
82
of file protocol/wmbus/rail_wmbus.h