redefined LEDs as inputs to avoid startup transients
added pwm_lld_get/set_width() macros for STM32