[−][src]Module mynewt::libs::mynewt_rust
Contains Rust bindings for Mynewt Custom API libs/mynewt_rust
Structs
Constants
Functions
device_get_name⚠ | Return the name for the Mynewt device. Assumes name is non-null. |
get_temp_data⚠ | Interpret |
get_temp_raw_data⚠ | Interpret |
is_null_sensor⚠ | Return non-zero if sensor is NULL. |
is_null_sensor_data⚠ | Return non-zero if sensor data is NULL. |
json_helper_close_array⚠ | End the child array and resume writing the parent object. |
json_helper_object_array_end_item⚠ | End an array item, assumed to be an object. |
json_helper_object_array_start_item⚠ | Assume we have called |
json_helper_set_array⚠ | Assume we are writing an object now. Write the key name and start a child array. |
json_helper_set_float⚠ | Encode a float value into the current JSON encoding value |
json_helper_set_int⚠ | Encode an int value into the current JSON encoding value |
json_helper_set_text_string⚠ | Encode a text value into the current JSON encoding value |
json_helper_set_uint⚠ | Encode an unsigned int value into the current JSON encoding value |
null_sensor⚠ | Return the NULL sensor. |
rust_sysinit⚠ | Initialise the Mynewt system. Start the Mynewt drivers and libraries. Equivalent to |
sensor_get_device⚠ | Return the Mynewt device for the Mynewt sensor. |
Type Definitions
__int16_t | |
__int32_t | |
__int64_t | |
__uint8_t | |
__uint16_t | |
__uint32_t | |
__uint64_t | |
os_dev_close_func_t | |
os_dev_init_func_t | Initialize a device. |
os_dev_open_func_t | |
os_dev_resume_func_t | |
os_dev_suspend_func_t | |
os_event_fn | |
os_sanity_check_func_t | |
os_stack_t | |
os_task_func_t | |
os_time_t | |
sensor_clear_trigger_thresh_t | Clear the high/low threshold values for a specific sensor for the sensor type. |
sensor_data_func_t | Callback for handling sensor data, specified in a sensor listener. |
sensor_error_func_t | Callback for reporting a sensor read error. |
sensor_event_type_t | |
sensor_get_config_func_t | Get the configuration of the sensor for the sensor type. This includes the value type of the sensor. |
sensor_handle_interrupt_t | Let driver handle interrupt in the sensor context |
sensor_notifier_func_t | Callback for event notifications. |
sensor_read_func_t | Read a single value from a sensor, given a specific sensor type (e.g. SENSOR_TYPE_PROXIMITY). |
sensor_reset_t | Reset Sensor function Ptr |
sensor_set_config_func_t | Send a new configuration register set to the sensor. |
sensor_set_notification_t | Set the notification expectation for a targeted set of events for the specific sensor. After this function returns successfully, the implementer shall post corresponding event notifications to the sensor manager. |
sensor_set_trigger_thresh_t | Set the trigger and threshold values for a specific sensor for the sensor type. |
sensor_trigger_cmp_func_t | Callback for trigger compare functions. |
sensor_type_t | |
sensor_unset_notification_t | Unset the notification expectation for a targeted set of events for the specific sensor. |