/*==============================================================================
 * tmp235_q1.h - TMP235-Q1 analogue temperature sensor driver interface
 *
 * Reads the TMP235-Q1 analogue voltage output via SAADC (AIN3) and converts
 * it to temperature (deg C).
 *
 * Conversion: Ta(C) = (Vout_mV - 500) / 10.0   (valid 0..100 C)
 *
 * API:
 *   tmp235_init()               : initialise SAADC + start measurement (internal)
 *   tmp235_voltage_level_meas() : one-shot temperature reading (external wrapper)
 *============================================================================*/

#ifndef _TMP235_Q1_H_
#define _TMP235_Q1_H_

/* Initialise SAADC for TMP235 and start measurement (AIN3). */
void tmp235_init(void);
/* External entry point for a single temperature reading. */
void tmp235_voltage_level_meas(void);

#endif /* !_TMP235_Q1_H_ */
