--  A function may not read an object something else may change (B3022)
package Sensors is
   Reading : Integer := 0 with Volatile, Async_Writers;

   function Current return Integer is (Reading);

   procedure Sample (A, B : out Integer);
end Sensors;
