stmhal: Fix bugs in documentation so it compiles.