CMP EMBEDDED.COM

Login | Register     Welcome Guest ESC Boston  esc india  Call for Abstracts
 

Listing 4 System hardware definition file

/* Analog to Digital Hardware Parameters */
#define	A2D_VOLTAGE_RANGE_MAX	(5)	/* VOLTS */
#define	A2D_VOLTAGE_RANGE_MIN	(0)	/* VOLTS */
#define	A2D_RESOLUTION (1024) /* 10 BITS */
/* Sensor Hardware Parameters */
#define	SENSOR_ZERO_VOLTAGE	(3.0)	/* VOLTS */
#define	SENSOR_ZERO_POINT	(((SENSOR_ZERO_VOLTAGE/(A2D_VOLTAGE_
RANGE_MAX - A2D_VOLTAGE _RANGE_MIN))*
(A2D_RESOLUTION))

Back

Embedded.com Career Center
Ready to take that job and shove it?
SEARCH JOBS

Browse all jobs

SPONSOR
RECENT JOB POSTINGS




 :