Register map Next, checking the contents of GPIO control registers, there are 7 types of control registers as follows (x=A…G). Port Setting Register Lower（GPIOx_CRL）Port０ to 7 Port Setting Register Upper（GPIOx_CRH）Port8 to 15 Port Input Data Register（GPIOx_IDR） Port Output Data Register（GPIOx_ODR） Port Bit set/reset Register（GPIOx_BSRR） Port Bit reset Register（GPIOx_BRR） Port Setting lock Register（GPIOx_LCKR） The register that […]
MCU Peripherals The point The function of each peripheral is not turned on or off with a switch, but rather the function is set according to whether or not a clock is supplied. If the clock is not supplied, most peripherals (peripheral functions) will not operate. SPL（Standard Peripheral Libraries） Flowchart Peripheral Library Summary The point […]
What is the role of firmware? Software and System Configuration Why use the library SPL? The point Once you have become accustomed to the STM32 MCU to some extent, shifting to the latest development environment and using HAL will demonstrate its usefulness.