STM8: extend GPIO functions

extend GPIO std functions