| NUC029FAE_BSP V3.02.000 The Board Support Package for NUC029FAE MCU

Functions | Variables
system_NUC029FAE.c File Reference

NUC029FAE system clock init code and assert handler. More...

`#include <stdint.h>`
`#include "NUC029FAE.h"`
Include dependency graph for system_NUC029FAE.c:

Go to the source code of this file.

## Functions
void | SystemCoreClockUpdate (void)
| This function is used to update the variable SystemCoreClock and must be called whenever the core clock is changed. More...

## Variables
uint32_t | SystemCoreClock = __HSI
uint32_t | CyclesPerUs = (__HSI / 1000000)

## Detailed Description

NUC029FAE system clock init code and assert handler.

Version
  V1.00

Revision
  1

Date
  14/05/16 10:00a

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2014 Nuvoton Technology Corp. All rights reserved.

Definition in file system_NUC029FAE.c.

## Function Documentation

## ◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate | ( | void |  | ) |

This function is used to update the variable SystemCoreClock and must be called whenever the core clock is changed.

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

Parameters

  None. |

Return values

  None. |

Definition at line 31 of file system_NUC029FAE.c.

Here is the caller graph for this function:

## Variable Documentation

## ◆ CyclesPerUs

uint32_t CyclesPerUs = (__HSI / 1000000)

Cycles per micro second

Definition at line 21 of file system_NUC029FAE.c.

## ◆ SystemCoreClock

uint32_t SystemCoreClock = __HSI

System Clock Frequency (Core Clock)

Definition at line 20 of file system_NUC029FAE.c.