Macros | Functions | Variables
system_same70.c File Reference
#include "same70.h"
Include dependency graph for system_same70.c:

Go to the source code of this file.

Macros

#define SYS_BOARD_MCKR   (PMC_MCKR_PRES_CLK_2 | PMC_MCKR_CSS_PLLA_CLK | (1<<8))
 
#define SYS_BOARD_OSCOUNT   (CKGR_MOR_MOSCXTST(0x8U))
 
#define SYS_BOARD_PLLAR
 

Functions

void system_init_flash (uint32_t ul_clk)
 
void SystemCoreClockUpdate (void)
 Updates the SystemCoreClock with current core Clock retrieved from cpu registers. More...
 
void SystemInit (void)
 Setup the microcontroller system. Initialize the System and update the SystemFrequency variable. More...
 

Variables

uint32_t SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ
 

Detailed Description

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file system_same70.c.

Macro Definition Documentation

◆ SYS_BOARD_MCKR

#define SYS_BOARD_MCKR   (PMC_MCKR_PRES_CLK_2 | PMC_MCKR_CSS_PLLA_CLK | (1<<8))

Definition at line 51 of file system_same70.c.

◆ SYS_BOARD_OSCOUNT

#define SYS_BOARD_OSCOUNT   (CKGR_MOR_MOSCXTST(0x8U))

Definition at line 48 of file system_same70.c.

◆ SYS_BOARD_PLLAR

#define SYS_BOARD_PLLAR
Value:
CKGR_PLLAR_PLLACOUNT(0x3fU) | CKGR_PLLAR_DIVA(0x1U))
#define CKGR_PLLAR_MULA(value)
#define CKGR_PLLAR_ONE
(CKGR_PLLAR) Must Be Set to 1
#define CKGR_PLLAR_DIVA(value)

Definition at line 49 of file system_same70.c.

Function Documentation

◆ system_init_flash()

void system_init_flash ( uint32_t  ul_clk)

Initialize flash.

Definition at line 202 of file system_same70.c.

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Updates the SystemCoreClock with current core Clock retrieved from cpu registers.

Definition at line 108 of file system_same70.c.

◆ SystemInit()

void SystemInit ( void  )

Setup the microcontroller system. Initialize the System and update the SystemFrequency variable.

Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.

Definition at line 59 of file system_same70.c.

Variable Documentation

◆ SystemCoreClock

uint32_t SystemCoreClock = CHIP_FREQ_MAINCK_RC_4MHZ

Definition at line 53 of file system_same70.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:00