Activity 9.2.2. Which Register, Which Byte, Which Code.
Open the reference manual, RM0490 Β§12.5.6, EXTI external interrupt selection register.
(a)
Read the register description for
EXTI_EXTICRx.
-
What value selects port B?
-
What would select port C?
-
What does the value
0x04select?
(b)
The registers themselves are named, in the reference manual,
EXTICR1, EXTICR2, EXTICR3 and EXTICR4. If each is stored in an element of the four-element C array EXTI->EXTICR[ ], how do we refer to EXTI_EXTICR2 in C?
