Access to I/O space

See the HW manual of your device/system for information on assigned ports and programming sequence.
The “block” versions are not atomic, they may be interrupted, by for example, a higher priority thread.