diff options
author | Stephan Broyles <sbroyles@us.ibm.com> | 2014-11-05 19:09:37 -0600 |
---|---|---|
committer | Stephan Broyles <sbroyles@us.ibm.com> | 2014-11-05 19:22:32 -0600 |
commit | 9976c207cdb20871880bd2f4cf123cf4cb6a8b0f (patch) | |
tree | 1cf9ed8f23085e6fe3e0e6046fc30dcb7e02ccf2 /src/occ/amec/amec_sensors_power.h | |
parent | 2f8ce357b89d361b5091d88aea91416011b73ccb (diff) | |
download | talos-occ-9976c207cdb20871880bd2f4cf123cf4cb6a8b0f.tar.gz talos-occ-9976c207cdb20871880bd2f4cf123cf4cb6a8b0f.zip |
Added remaining occ files.
Change-Id: I91a748d3dcf3161a6a3eedcb376fcaf1e4dfe655
Diffstat (limited to 'src/occ/amec/amec_sensors_power.h')
-rwxr-xr-x | src/occ/amec/amec_sensors_power.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/occ/amec/amec_sensors_power.h b/src/occ/amec/amec_sensors_power.h new file mode 100755 index 0000000..f0bb3eb --- /dev/null +++ b/src/occ/amec/amec_sensors_power.h @@ -0,0 +1,48 @@ +/** + * @page ChangeLogs Change Logs + * @section _amec_sensors_power_h amec_sensors_power.h + * @verbatim + * + * Flag Def/Fea Userid Date Description + * -------- ---------- -------- -------- -------------------------------------- + * @th00b thallet 02/24/2012 New file + * @pb00E pbavari 03/11/2012 Added correct include file + * @gs027 918066 gjsilva 03/12/2014 Misc functions from ARL + * + * @endverbatim + */ + +#ifndef _AMEC_SENSORS_POWER_H +#define _AMEC_SENSORS_POWER_H + +/*----------------------------------------------------------------------------*/ +/* Includes */ +/*----------------------------------------------------------------------------*/ +//@pb00Ec - changed from common.h to occ_common.h for ODE support +#include <occ_common.h> +#include <ssx.h> +#include <ssx_app_cfg.h> +#include "amec_external.h" + +/*----------------------------------------------------------------------------*/ +/* Defines/Constants */ +/*----------------------------------------------------------------------------*/ + + +/*----------------------------------------------------------------------------*/ +/* Function Declarations */ +/*----------------------------------------------------------------------------*/ + +// Function that is called by AMEC State Machine that will update the AMEC +// sensors for data that comes from the APSS (Power Data from APSS ADCs) +void amec_update_apss_sensors(void); + +// Function that is called by AMEC State Machine that will update the AMEC +// sensors for data that comes from the SPIVID chip (VR_FAN, SoftOC) +void amec_update_vrm_sensors(void); + +// Function that is called by AMEC State Machine that will update the AMEC +// sensors for external voltage measurement +void amec_update_external_voltage(void); + +#endif // _AMEC_SENSORS_POWER_H |