Cordio Stack and Cordio Profiles  r2p3-02rel0
app_hw.h File Reference

Application framework hardware interfaces. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  appHrm_t
 Heart rate measurement structure. More...
 
struct  appDateTime_t
 Date and time structure. More...
 
struct  appBpm_t
 Blood pressure measurement structure. More...
 
struct  appWsm_t
 Weight scale measurement structure. More...
 
struct  appTm_t
 Temperature measurement structure. More...
 
struct  appPlxCm_t
 Pulse Oximeter continuous measurement structure. More...
 
struct  appPlxScm_t
 Pulse Oximeter spot check measurement structure. More...
 

Functions

App Hardware Interface

Interface to emulated sensor of real world devices (e.g. battery, heart rate monitor, blood pressure sensor, etc.)

void AppHwBattRead (uint8_t *pLevel)
 Read the battery level. The battery level value returned in pLevel is the percentage of remaining battery capacity (0-100%). More...
 
void AppHwBattTest (uint8_t level)
 Set the battery level, for test purposes. More...
 
void AppHwHrmRead (appHrm_t *pHrm)
 Perform a heart rate measurement. Return the heart rate along with any RR interval data. More...
 
void AppHwHrmTest (uint8_t heartRate)
 Set the heart rate, for test purposes. More...
 
void AppHwBpmRead (bool_t intermed, appBpm_t *pBpm)
 Perform a blood pressure measurement. Return the measurement data. More...
 
void AppHwWsmRead (appWsm_t *pWsm)
 Perform a weight scale measurement. Return the measurement data. More...
 
void AppHwTmRead (bool_t intermed, appTm_t *pTm)
 Perform a temperature measurement. Return the measurement data. More...
 
void AppHwTmSetUnits (uint8_t units)
 Set the temperature measurement units. More...
 
void AppHwWmSetUnits (uint8_t units)
 Set the weight measurement units. More...
 
void AppHwPlxcmRead (appPlxCm_t *pPlxcm)
 Perform a pulse oximeter measurement. More...
 
void AppHwPlxscmRead (appPlxScm_t *pPlxscm)
 Perform a pulse oximeter spot check measurement. More...
 

Description

Application framework hardware interfaces.

Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved. ARM Ltd. confidential and proprietary.

IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact ARM Ltd. prior to any use, copying or further distribution of this software.

Definition in file app_hw.h.