11: void EXTIO-Init01 L2: EXTI-InitTypeDef EXTI-initStructure: L NVIC, Iinit Typ
ID: 3772822 • Letter: 1
Question
11: void EXTIO-Init01 L2: EXTI-InitTypeDef EXTI-initStructure: L NVIC, Iinit TypeDef NVIC, InitStructure L RCC APB2PeriphClockCmd(RCC APB2Periph SYSCFG, ENABLE) 5: SYSCFG-EXTILineconfig(EXTI-PortSourceGPOA, EXTI_PinSourceO); ues: EXTI-InitStructure EXTI-Line-EXTI-Lined: L7: EXTI InitStructure.EXTI Mode EXTI Mode Interrupt 18: EXTI-InitStructureEXTI Trigger-EXTI-Trigger-Rising: 9: EXTI_1nitStructure.EXTILineCrnd-ENABLE; L10: EXTI init(&EXTI-InitStructure;); 11: Nvic-initStructure. NVIC_Aachannel . EXTORQn; 12: NVIC-InitStructure.NVIC_1 - IRQChannelPreemptionPriority 13: L14: L15: NVIC-InitStructure.NVIC-IRQChannelSubPriority OOF; NVIC-InitStructure. NVIC-IROChanneCrnd. ENABLE; NVIC-Init(&NVIC-InitStructure;); 36) What does L5 do? a) This line enables the push button to initiate LCD Panel display b) This line enables the push button to initiate an interrupt. c) This line enables the interrupt to display the LCD panel. d) This line enables the interrupt to initiate the push button. 37) What does L10 do? a) This line configures EXTI registers. b) This line initiates EXTI handler. c) Both a) and b) d) None of above. 38) Where should be the instruction which relates GPIO-AF (12C2) to GPIO-/O pin (push button)? a) This should be a part of EXTIO configuration program. b) This should be a part of EXTIO handler program. c) This should be a part of GPIOA configuration program. d) This should be a part of 12C2 configuration program. e) This should be a program separate from all of above. 39) Where should be the instruction which writes a message on LCD panel? a) This should be a part of EXTIO configuration program. b) This should be a part of EXTIO handler program. c) This should be a part of GPIOA configuration program. d) This should be a part of 12C2 configuration program. e) This should be a program separate from all of above.Explanation / Answer
36) a
37) c
38) d
39) c
40) b
41) d
42) e
43) a
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.