SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
system_sam4s.c File Reference
#include "sam4s.h"

Go to the source code of this file.

Macros

#define CHIP_FREQ_XTAL_12M   (12000000UL)
 
#define Slow_Clock_Xtal
 
#define CHIP_FREQ_XTAL   CHIP_FREQ_XTAL_12M
 

Functions

void SystemInit (void)
 Setup the microcontroller system. More...
 
void SystemCoreClockUpdate (void)
 Get Core Clock Frequency. More...
 
void system_init_flash (uint32_t ul_clk)
 Initialize flash wait state according to operating frequency. More...
 

Variables

uint32_t SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ
 

Macro Definition Documentation

#define CHIP_FREQ_XTAL   CHIP_FREQ_XTAL_12M

Definition at line 46 of file system_sam4s.c.

#define CHIP_FREQ_XTAL_12M   (12000000UL)

Definition at line 41 of file system_sam4s.c.

#define Slow_Clock_Xtal

Definition at line 43 of file system_sam4s.c.

Function Documentation

void system_init_flash ( uint32_t  ul_clk)

Initialize flash wait state according to operating frequency.

Parameters
ul_clkSystem clock frequency.

Definition at line 241 of file system_sam4s.c.

void SystemCoreClockUpdate ( void  )

Get Core Clock Frequency.

Definition at line 136 of file system_sam4s.c.

void SystemInit ( void  )

Setup the microcontroller system.

Initialize the System and update the SystemFrequency variable.

Definition at line 57 of file system_sam4s.c.

Variable Documentation

uint32_t SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ

Definition at line 50 of file system_sam4s.c.