[−][src]Function mynewt::hw::sensor::sensor_get_type_traits_byname
pub unsafe extern "C" fn sensor_get_type_traits_byname(
arg1: *const c_char,
arg2: *mut *mut sensor_type_traits,
arg3: sensor_type_t
) -> *mut sensor
Get the type traits for a sensor
devname
: Name of the sensorstt
: Ptr to sensor types trait structtype
: The sensor type
Return: NULL on failure, sensor struct on success