Commit Graph

8 Commits

Author SHA1 Message Date
Yuri D'Elia
b8b75186fe Remove the extra copy of CRITICAL_SECTION from fastio 2021-01-29 18:30:16 +01:00
Yuri D'Elia
31b3ad0613 Merge remote-tracking branch 'upstream/MK3' into MK3_PAT9125_I2C 2021-01-29 18:28:55 +01:00
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
Alex Voinea
c3abd4ffe6
Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
Alex Voinea
1659f61dd5
Fix fastio extra parenthesis 2020-08-21 10:51:46 +03: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