Mercurial > public > ostc4
view Common/Drivers/CMSIS/index.html @ 474:4be72d55b09a Improve_Button_Sleep
Added error detection for reading of ADC values in sleep mode:
ADC value were used for pressure calculation without making sure that the I2C operations used for reading the values were called successfully. As result a invalid pressure could be calculated causing the OSTC to wakeup or (worstcase) to enter dive mode. To avoid this the return values are now evaluated and pressure calculation is only done if I2C signaled no error during transmission
author | ideenmodellierer |
---|---|
date | Tue, 12 May 2020 22:42:52 +0200 |
parents | c78bcbd5deda |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Redirect to the CMSIS main page after 0 seconds</title> <meta http-equiv="refresh" content="0; URL=Documentation/General/html/index.html"> <meta name="keywords" content="automatic redirection"> </head> <body> If the automatic redirection is failing, click <a href="Documentation/General/html/index.html">open CMSIS Documentation</a>. </body> </html>