Add section on mem8,16,32
parent
579b55172a
commit
a4dec49e0f
|
@ -82,6 +82,10 @@ dir(machine)
|
|||
|
||||
one can easily see what's supported on the board.
|
||||
|
||||
## Physical memory access
|
||||
|
||||
Provided by `mem8` (NOHEAP), `mem16` (NOHEAP), `mem32` (HEAP) virtual arrays. Mind that only `mem8` and `mem16` guarantee no heap access. For systems with virtual memory, these functions access hardware-defined physical address space (which includes memory-mapped I/O devices, etc.), not virtual memory map of a current process.
|
||||
|
||||
## IRQs
|
||||
|
||||
An interrupt request (IRQ) is an asynchronous and pre-emptive action triggered by a peripheral. Peripherals that support interrupts provide the `irq` method which returns an irq object. This can be used to execute a function when an IRQ is triggered, or wake up the device, or both.
|
||||
|
|
Loading…
Reference in New Issue