LRAUV  revA
BPC1.h File Reference

Contains the BPC1 class declaration. More...

#include "component/SyncComponent.h"
#include "io/LoadControl.h"
#include "io/UartStream.h"
#include "logger/Logger.h"
#include "BPC1IF.h"
Include dependency graph for BPC1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BPC1
 Provides software interface to the Battery Pack Controller. More...
 
struct  BPC1::BattStick
 

Macros

#define NUMBATTSA   BPC1IF::NUMBATTSA
 
#define NUMBATTSB   BPC1IF::NUMBATTSB
 
#define SHORT_MSG_MIN_SIZE   199
 
#define SHORT_MSG_MAX_SIZE   216
 
#define FULL_MSG_MIN_SIZE   1676
 
#define FULL_MSG_MAX_SIZE   1904
 
#define MESSAGE_OFFSET   77
 
#define SMBUS_MSG_LEN   228
 
#define MAX_STICKS   8
 

Detailed Description

Contains the BPC1 class declaration.

BPC1.h should only be included by BPC1.cpp Other classes should include BPC1IF.h

Copyright (c) 2014 MBARI MBARI Proprietary Information. All Rights Reserved

Macro Definition Documentation

#define FULL_MSG_MAX_SIZE   1904

Referenced by BPC1::validData().

#define FULL_MSG_MIN_SIZE   1676

Referenced by BPC1::runnable(), and BPC1::validData().

#define MAX_STICKS   8
#define MESSAGE_OFFSET   77

Referenced by BPC1::validData().

#define SHORT_MSG_MAX_SIZE   216

Referenced by BPC1::validData().

#define SHORT_MSG_MIN_SIZE   199

Referenced by BPC1::validData().

#define SMBUS_MSG_LEN   228