From c13b2f2d0040cdf38ea3178717480d07f02c5245 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Mon, 11 Jan 2016 06:48:35 +0000 Subject: docs: Several minor changes: network, pyb, ADCAll and inline asm. --- docs/reference/asm_thumb2_misc.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/reference/asm_thumb2_misc.rst') diff --git a/docs/reference/asm_thumb2_misc.rst b/docs/reference/asm_thumb2_misc.rst index eb96f4877..ca3f878cc 100644 --- a/docs/reference/asm_thumb2_misc.rst +++ b/docs/reference/asm_thumb2_misc.rst @@ -5,6 +5,9 @@ Miscellaneous instructions * wfi() Suspend execution in a low power state until an interrupt occurs. * cpsid(flags) set the Priority Mask Register - disable interrupts. * cpsie(flags) clear the Priority Mask Register - enable interrupts. +* mrs(Rd, special_reg) ``Rd = special_reg`` copy a special register to a general register. The special register + may be IPSR (Interrupt Status Register) or BASEPRI (Base Priority Register). The IPSR provides a means of determining + the exception number of an interrupt being processed. It contains zero if no interrupt is being processed. Currently the ``cpsie()`` and ``cpsid()`` functions are partially implemented. They require but ignore the flags argument and serve as a means of enabling and disabling interrupts. -- cgit v1.2.3