Commit Graph

4 Commits

Author SHA1 Message Date
Yuri D'Elia 30262b0a6e Remove redundant definitions of CRITICAL_SECTION_*
Move CRITICAL_SECTION_START/END into fastio.h, where it's needed.
2021-01-29 17:30:04 +01:00
bubnikv db985065ff WRITE_NC macro for non-critical (non-synchronized) access to
slow ports. The WRITE macro stores the CPU bits on the stack first,
then locks the interupts, reads the port, sets a bit, writes the port
and then finally reverts the CPU bits. The WRITE_NC does not lock
the interrupts, therefore it may only be used where it cannot
be interrupted.
2018-01-12 20:15:59 +01:00
michalprusa a4a80b3eb7 MK2 Firmware release. 2016-05-31 14:08:04 +02:00
Josef Prusa f8c65e39ae Reorginized the repository and added license 2016-02-21 15:02:31 +01:00