ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
clock.h File Reference
#include "bsp/config.h"

Go to the source code of this file.

Functions

void bsp_clock_init (void)
 Configure system clocks.
 
void bsp_mpu_config (void)
 Configure MPU regions.
 
void bsp_cache_enable (void)
 Enable CPU caches.
 
void ExitRun0Mode (void)
 Enter Run0 mode exit sequence.
 

Function Documentation

◆ bsp_cache_enable()

void bsp_cache_enable ( void  )

Enable CPU caches.

Enables:

  • Instruction cache (I-Cache)
  • Data cache (D-Cache)
Note
Called after MPU configuration

◆ bsp_clock_init()

void bsp_clock_init ( void  )

Configure system clocks.

Configures:

  • HSE oscillator (25MHz external crystal)
  • PLL1 for 480MHz SYSCLK
  • AHB/APB prescalers
  • Flash latency
Note
Called by bsp_init()

◆ bsp_mpu_config()

void bsp_mpu_config ( void  )

Configure MPU regions.

Sets up memory protection for:

  • QSPI flash region (no access by default)
  • QSPI flash region (read-only, cacheable)
Note
Called before cache enable