This functionality already exists in the TIM code, and can be reused by the
upcoming PWM implementation.
Signed-off-by: Damien George <damien@micropython.org>
Some MCUs (eg N6) have more timers which are 32-bit, and it's best to use
this macro to work that out.
Signed-off-by: Damien George <damien@micropython.org>
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.