Home / Expert Answers / Computer Science / help-me-answer-this-embedded-system-question-for-stm32f051c6-microcontroller-programming-with-pa692

(Solved): Help me answer this Embedded System Question for STM32F051C6 microController Programming with ...



Help me answer this Embedded System Question for “STM32F051C6 microController Programming” with detailed explanation.

student submitted image, transcription available below

Use the reference sheet below to solve the problem
student submitted image, transcription available below

Consider the bit masks shown in Table 3.1 below. Table 3.1: information relating to Question 3 Consider the operations below: 3.1 GPIOA MODER GPIO_MODER_MODER5_0; [2] 3.2 GPIOA MODER GPIO_MODER_MODER5_1; 3.3 GPIOA MODER \& = GPIO_MODER_MODER5; [2] 3.4 GPIOA MODER GPIO_MODER_MODERS; [2] After each operation, determine the value of the GPIOA_MODER register. Assume that the value of the GPIOA_MODER register was before each operation in Question 3.1, 3.2, 3.3 and 3.4, i.e. before the operation in Question 3.1 was executed the value of GPIOA_MODER was , before the operation in Question 3.2 was executed the value of GPIOA_MODER is , etc. Represent your answers in hexadecimal and binary values. In additional, determine the values of bit 11 and bit 10 and the mode of PA5. Complete your answer in the answer booklet in the format shown in Table 3.2. Do not write your answer on the question paper. Table 3.2: Template for your answer relating to Question 3 GPIO port mode register ( MODER or F) Reset Value (GPIOA): 0 b00101000000000000000000000000000 or (all other ports): or Bits 31 to 0: MODERy: GPIO Mode Configuration bits ( GPIO pin number Digital Input Mode (reset state) Digital Output Mode Alternative Function Mode Analog Mode Bitmask for GPIO pin 0 GPIO Pin 0, Bit 0: GPIO Pin 0. Bit 1: GPIO Pin 0. Bit 1 and Bit 0: Bitmask for GPIO pin 1 GPIO Pin 1, Bit 0: GPIO Pin 1, Bit 1: GPIO Pin 1, Bit 1 and Bit 0 : GPIO_MODER_MODERO_O GPIO_MODER_MODERO_1 GPIO_MODER_MODERO GPIO_MODER_MODER1_0 GP IO_MODER_MODER1_1 GP IO_MODER_MODER1 Ob00000000000000000000000000000001 Ob00000000000000000000000000000010 Ob00000000000000000000000000000011 Ob00000000000000000000000000000100 Ob00000000000000000000000000001000 Ob00000000000000000000000000001100


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe