improve code readability
noted a weird detail about cable detection
noted a weird detail about cable detection, part2
started working on a system where a single thread handles the EXTI callbacks and turns them into ChibiOS events