#ifndef __MCP_3021_H__
#define __MCP_3021_H__
#include "msystem.h"

typedef struct mcp_3021
{
    const char *name;
    FILE* fp_input;
}mcp_3021_t;

int bsp_mcp3021_init(mcp_3021_t* dev, const char* name);

void bsp_mcp3021_exit(mcp_3021_t* dev);

float bsp_mcp3021_getInput(mcp_3021_t* dev);

#endif//__MCP_3021_H__
