
#ifndef _PSA916Input_H
#define _PSA916Input_H

#include "SharedData.h"

#define PSA916InputName "PSA916Input_ShmemName"

/*
CLASS 
PSA916Input

DESCRIPTION
Control variables for PSA916 driver

AUTHOR
Tom O'Reilly
*/
class PSA916Input : public SharedData {

public:

  struct Data {
    Boolean enabled;
  };

  PSA916Input(Access access = NoAccess, Boolean init = False); 

  ~PSA916Input();

  ////////////////////////////////////////////////////////////////////
  // Read from shared memory to this object's Data::data element
  void read();

  ////////////////////////////////////////////////////////////////////
  // Write from this object's Data::data element to shared memory
  void write();

  ////////////////////////////////////////////////////////////////////
  // Your application accesses the fields of this Data object, before 
  // calling write() or after calling read().
  Data data;

};

#endif
