Structure representing a Wireless M-Bus sensor.

This structure contains function pointers to initialize the sensor, deinitialize the sensor, measure data, get data, print data on a 7 segment LCD display, and handle button press events.

Public Attributes#

uint8_t

Sensor ID.

const char *

Name of the sensor.

Function pointer to initialize the sensor.

Function pointer to deinitialize the sensor.

Function pointer to measure data.

Function pointer to print data on an 7 segment LCD display.

Public Attribute Documentation#

id#

uint8_t sl_rail_sdk_wmbus_sensor_t::id

Sensor ID.


Definition at line 134 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

name#

const char* sl_rail_sdk_wmbus_sensor_t::name

Name of the sensor.


Definition at line 135 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

init_fnc_ptr#

sl_rail_sdk_wmbus_sensor_init_t sl_rail_sdk_wmbus_sensor_t::init_fnc_ptr

Function pointer to initialize the sensor.


Definition at line 136 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

deinit_fnc_ptr#

sl_rail_sdk_wmbus_sensor_init_t sl_rail_sdk_wmbus_sensor_t::deinit_fnc_ptr

Function pointer to deinitialize the sensor.


Definition at line 137 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

measure_fnc_ptr#

sl_rail_sdk_wmbus_sensor_measure_t sl_rail_sdk_wmbus_sensor_t::measure_fnc_ptr

Function pointer to measure data.


Definition at line 138 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

get_data_fnc_ptr#

sl_rail_sdk_wmbus_sensor_get_data_t sl_rail_sdk_wmbus_sensor_t::get_data_fnc_ptr

Function pointer to get data.


Definition at line 139 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

print_fnc_ptr#

sl_rail_sdk_wmbus_sensor_print_t sl_rail_sdk_wmbus_sensor_t::print_fnc_ptr

Function pointer to print data on an 7 segment LCD display.


Definition at line 140 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h

button_pressed_fnc_ptr#

sl_rail_sdk_wmbus_sensor_button_pressed_t sl_rail_sdk_wmbus_sensor_t::button_pressed_fnc_ptr

Function pointer to handle button press.


Definition at line 141 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_core/sl_rail_sdk_wmbus_sensor_core.h