Power

    The Reset and Clock Control () peripheral can be used to power on or off every otherperipheral.

    You can find the list of registers in the RCC register block in:

    The registers that control the power status of other peripherals are:

    • AHBENR

    Each bit in these registers controls the power status of a single peripheral, including GPIOE.

    • Figure out what value that bit must be set to,0 or , to power on the GPIOE peripheral.

    If you are successful, you’ll see that the gpioe.odr.write statement will now be able to modifythe value of the register.

    Note that this won’t be enough to actually turn on the LEDs.