*In order for pin to act as IO, it must be configured with
according function. Usually it is IOCON_FUNC0,
but some pins on port 0 are an exception (IOCON_FUNC1).
* Now it uses timer peripheral with interrupt.
* It sets interrupt to trigger after certain time and waits for it to clear the "interrupt pending" flag.
* Refactored LpcUart for USART0, the handling is a bit different,
so it would have been painful to add that to LpcUart class.
* scanf() still doesn't work, but hey, we have debug prints now!
* Can't believe it actually worked.
* We have UART1-4 (from UARTN, UART0 handling is different.)
* Added Fmutex
* Removed movable pins.
* Disabled handshakes. (Not sure how to configure those.)
* 1 and 4, as well as 2 and 3 share their interrupts with each other. (Again, not sure how it should work.)
Peripherals were following old lpc chip pinout (lpc15xx). We have different (lpc11u6x). I decided to comment them out until we figure out correct pinout. (project should always build in master)