Wireless M-Bus#

Wireless M-Bus (WMBUS) configuration.

Enumerations#

enum
RAIL_WMBUS_ModeTFrameA = 0U
RAIL_WMBUS_ModeCFrameA = 2U
RAIL_WMBUS_ModeCFrameB = 3U
}

The RX variant of the WMBUS T+C PHY.

enum
SL_RAIL_WMBUS_MODE_T_FRAME_A = 0U
SL_RAIL_WMBUS_MODE_C_FRAME_A = 2U
SL_RAIL_WMBUS_MODE_C_FRAME_B = 3U
}

The RX variant of the WMBUS T+C PHY.

Functions#

RAIL_WMBUS_Config(RAIL_Handle_t railHandle, bool enableSimultaneousTCRx)

Configure WMBUS simultaneous M2O RX of T and C modes feature.

sl_rail_wmbus_config(sl_rail_handle_t rail_handle, bool enable_simultaneous_t_c_rx)

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.

DeprecatedRAIL 2.x synonym of sl_rail_wmbus_phy_t.

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.


sl_rail_wmbus_phy_t#

sl_rail_wmbus_phy_t

The RX variant of the WMBUS T+C PHY.

Enumerator
SL_RAIL_WMBUS_MODE_T_FRAME_A

sl_rail_rx_packet_details_t::sub_phy_id indicating a mode T frame A packet.

SL_RAIL_WMBUS_MODE_C_FRAME_A

sl_rail_rx_packet_details_t::sub_phy_id indicating a mode C frame A packet.

SL_RAIL_WMBUS_MODE_C_FRAME_B

sl_rail_rx_packet_details_t::sub_phy_id indicating a mode C frame B packet.


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.

Parameters
TypeDirectionArgument NameDescription
RAIL_Handle_t[in]railHandle

A RAIL instance handle.

bool[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

DeprecatedRAIL 2.x synonym of sl_rail_wmbus_config().


sl_rail_wmbus_config#

sl_rail_status_t sl_rail_wmbus_config (sl_rail_handle_t rail_handle, bool enable_simultaneous_t_c_rx)

Configure WMBUS simultaneous M2O RX of T and C modes feature.

Parameters
TypeDirectionArgument NameDescription
sl_rail_handle_t[in]rail_handle

A real RAIL instance handle.

bool[in]enable_simultaneous_t_c_rx

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 sl_rail_rx_packet_details_t::sub_phy_id.

Note