stm: Add a few more GPIO functions to make dealing with the 1802 easier