Wirepas SDK
wms_hardware.h
Go to the documentation of this file.
1/* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6
28#ifndef APP_LIB_HARDWARE_H_
29#define APP_LIB_HARDWARE_H_
30
31#include <stdlib.h>
32#include <stdint.h>
33#include <stdbool.h>
34
35#include "wms_app.h"
36
38#define APP_LIB_HARDWARE_NAME 0x014eff15
39
41#define APP_LIB_HARDWARE_VERSION 0x203
42
57
67typedef app_res_e
69
80typedef app_res_e
82
105 bool * activated_p,
106 uint32_t timeout_us);
107
108
118
119#endif /* APP_LIB_HARDWARE_H_ */
app_res_e
Definition wms_app.h:202
app_res_e(* app_lib_hardware_deactivate_peripheral_f)(app_lib_hardware_activable_peripheral_e peripheral)
Request for peripheral deactivation.
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_deactivate_peripheral_f deactivatePeripheral
app_lib_hardware_is_peripheral_activated_f isPeripheralActivated
app_res_e(* app_lib_hardware_activate_peripheral_f)(app_lib_hardware_activable_peripheral_e peripheral)
Request for peripheral activation.
app_lib_hardware_activable_peripheral_e
Hardware peripherals to activate.
@ APP_LIB_HARDWARE_PERIPHERAL_HFXO
app_lib_hardware_activate_peripheral_f activatePeripheral
List of library functions.