@@ -18,25 +18,23 @@ Reset related functions
1818
1919 Get the reset cause. See :ref: `constants <machine_constants >` for the possible return values.
2020
21- .. only :: port_wipy
22-
23- Interrupt related functions
24- ---------------------------
21+ Interrupt related functions
22+ ---------------------------
2523
26- .. function :: disable_irq()
24+ .. function :: disable_irq()
2725
28- Disable interrupt requests.
29- Returns the previous IRQ state: ``False ``/``True `` for disabled/enabled IRQs
30- respectively. This return value can be passed to enable_irq to restore
31- the IRQ to its original state.
26+ Disable interrupt requests.
27+ Returns the previous IRQ state: ``False ``/``True `` for disabled/enabled IRQs
28+ respectively. This return value can be passed to enable_irq to restore
29+ the IRQ to its original state.
3230
33- .. function :: enable_irq(state=True)
31+ .. function :: enable_irq(state=True)
3432
35- Enable interrupt requests.
36- If ``state `` is ``True `` (the default value) then IRQs are enabled.
37- If ``state `` is ``False `` then IRQs are disabled. The most common use of
38- this function is to pass it the value returned by ``disable_irq `` to
39- exit a critical section.
33+ Enable interrupt requests.
34+ If ``state `` is ``True `` (the default value) then IRQs are enabled.
35+ If ``state `` is ``False `` then IRQs are disabled. The most common use of
36+ this function is to pass it the value returned by ``disable_irq `` to
37+ exit a critical section.
4038
4139Power related functions
4240-----------------------
0 commit comments