comparison code_part1/OSTC_code_asm_part1/ms5535.asm @ 341:2144f19fa1eb

BUGFIX protect against ISR changing pressure/temperature while reading it.
author JeanDo
date Fri, 20 May 2011 00:48:30 +0200
parents ecbbbd423e86
children f53aa96ff2f4
comparison
equal deleted inserted replaced
340:ecbbbd423e86 341:2144f19fa1eb
18 ; routines for Intersema MS5535A, MS5541B and MS5541C 18 ; routines for Intersema MS5535A, MS5541B and MS5541C
19 ; history: 19 ; history:
20 ; 2005-09-26: Written by Matthias Heinrichs, info@heinrichsweikamp.com 20 ; 2005-09-26: Written by Matthias Heinrichs, info@heinrichsweikamp.com
21 ; 2008-08-21: MH last updated, with second order compensation. 21 ; 2008-08-21: MH last updated, with second order compensation.
22 ; 2011-01-19: jDG Clean up using true signed arithmetics. 22 ; 2011-01-19: jDG Clean up using true signed arithmetics.
23 ; 2011-05-19: jDG Avegaring temperature and amb_pressure in private variable,
24 ; Use signed 16bit value for temperature (compat with avg !).
25 ;
23 ; known bugs: 26 ; known bugs:
24 ; ToDo: 27 ; ToDo:
25 28
26 ;============================================================================= 29 ;=============================================================================
27 ; Expose internal variables, to ease debug: 30 ; Expose internal variables, to ease debug: