Wofür ist welches Modul für den Cortex M4 Prozessor?

Hey,
heute eine speziellere Frage. In den Tutorials zur µC Programmierung wird immer nur gesagt: Lade diese Module. Ich will aber wissen: Warum? Wofür brauche ich das?

Ich werde hier in diesem Post eine Liste anfertigen, mit den Erklärungen, falls irgendwann mal irgendwer ebenfalls eine solche Erklärung sucht.

Zunächst fange ich mal mit dem "Hello World" Projekt an: LED Blinker.
Dafür sollen die Module CMSIS-Core & Boot, RCC und GPIO geladen werden. Ich kopiere mal die Erklärungen von CooCox (IDE) rein. Ich würde gerne eine einfachere, elementarere Beschreibung geben, wie z.B. GPIO stellt die Steuerung der Pins zur Verfügung (sicher falsch.. :D aber über gpio lassen sich die LEDs ansteuern)



ModuleBeschreibung
CMSIS-Core
  • The component implement the Core Peripheral Access Layer(according to CMSIS) for a Cortex-M4.
CMSIS-Boot
  • CMSIS BOOT for STM32F4x series
  • If you want to use FPU function, select FPU soft or hard in project configuration.
RCC
  • RCC provides reset and clock control.There are three types of reset, defined as system Reset, power Reset and backup domain Reset.Three different clock sources can be used to drive the system clock (SYSCLK):HSI oscillator clock; HSE oscillator clock; Main PLL (PLL) clock.The devices have the two following secondary clock sources: 32 kHz low-speed internal RC (LSI RC) which drives the independent watchdog and, optionally, the RTC used for Auto-wakeup from the Stop/Standby mode. 32.768 kHz low-speed external crystal (LSE crystal) which optionally drives the RTC clock (RTCCLK)
GPIO
  • Each general-purpose I/O port has four 32-bit configuration registers(GPIOx_MODER,GPIOx_OTYPER,GPIOx_OSPEEDR and GPIOx_PUPDR), two 32-bit data registers(GPIOx_IDR and GPIOx_ODR), a 32-bit set/reset register(GPIOx_BSRR), a 32-bit locking register(GPIOx_LCKR) and two 32-bit alternate function selection register(GPIOx_AFRH and GPIOx_AFRL).
 
Zurück
Oben