The WMBUS specific header file for the RAIL library.

License#

Copyright 2023 Silicon Laboratories Inc. www.silabs.com

SPDX-License-Identifier: Zlib

The licensor of this software is Silicon Laboratories Inc.

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

  3. This notice may not be removed or altered from any source distribution.

Enumerations#

enum
RAIL_WMBUS_ModeTFrameA = 0U
RAIL_WMBUS_ModeCFrameA = 2U
RAIL_WMBUS_ModeCFrameB = 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.

Enumeration Documentation#

RAIL_WMBUS_Phy_t#

RAIL_WMBUS_Phy_t

The RX variant of the WMBUS T+C PHY.

Enumerator
RAIL_WMBUS_ModeTFrameA

subPhyId indicating a mode T frame A packet

RAIL_WMBUS_ModeCFrameA

subPhyId indicating a mode C frame A packet

RAIL_WMBUS_ModeCFrameB

subPhyId indicating a mode C frame B packet


Definition at line 44 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.

Parameters
[in]railHandle

A handle of RAIL instance.

[in]enableSimultaneousTCRx

True to enable WMBUS simultaneous M2O RX of T and C modes.

Returns

  • A 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.


Definition at line 72 of file protocol/wmbus/rail_wmbus.h