36.1.4.9 temp_async_register_callback
Register callback function.
int32_t temp_async_register_callback(
struct temp_async_descriptor *const descr,
const enum temp_async_callback_type type,
const FUNC_PTR cb
)
Parameters
- descr
-
Type: struct temp_async_descriptor Struct *const
Temperature Sensor Descriptor
- type
-
Type: const enum temp_async_callback_type Enum
Callback type
- cb
-
Type: const FUNC_PTR typedef
A callback function, passing NULL will de-register any registered callback
Returns
Type: int32_t