 |
Wirepas SDK
|
|
Go to the documentation of this file.
28 #ifndef APP_LIB_HARDWARE_H_
29 #define APP_LIB_HARDWARE_H_
38 #define APP_LIB_HARDWARE_NAME 0x014eff15
41 #define APP_LIB_HARDWARE_VERSION 0x202
171 uint32_t timeout_us);
app_res_e(* app_lib_hardware_release_peripheral_f)(app_lib_hardware_peripheral_e peripheral)
Release a reserved hardware peripheral back for stack use.
app_lib_hardware_reserve_peripheral_f reservePeripheral
app_res_e(* app_lib_hardware_activate_peripheral_f)(app_lib_hardware_activable_peripheral_e peripheral)
Request for peripheral activation.
@ APP_LIB_HARDWARE_PERIPHERAL_HFXO
app_lib_hardware_is_peripheral_activated_f isPeripheralActivated
app_lib_hardware_read_supply_voltage_f readSupplyVoltage
app_lib_hardware_activate_peripheral_f activatePeripheral
List of library functions.
app_res_e(* app_lib_hardware_reserve_peripheral_f)(app_lib_hardware_peripheral_e peripheral)
Reserve a hardware peripheral.
app_lib_hardware_read_temperature_f readTemperature
@ APP_LIB_HARDWARE_PERIPHERAL_RESERVED
app_res_e(* app_lib_hardware_deactivate_peripheral_f)(app_lib_hardware_activable_peripheral_e peripheral)
Request for peripheral deactivation.
uint16_t(* app_lib_hardware_read_supply_voltage_f)(void)
Query voltage value.
int32_t(* app_lib_hardware_read_temperature_f)(void)
Ask the last read chip temperature from the stack.
app_lib_hardware_deactivate_peripheral_f deactivatePeripheral
app_res_e(* app_lib_hardware_is_peripheral_activated_f)(app_lib_hardware_activable_peripheral_e peripheral, bool *activated_p, uint32_t timeout_us)
Request for peripheral status.
app_lib_hardware_activable_peripheral_e
Hardware peripherals to activate.
app_lib_hardware_release_peripheral_f releasePeripheral
app_lib_hardware_peripheral_e
Hardware peripherals to reserve.