| MINI51DE_BSP V3.02.003 The Board Support Package for Mini51DE Series MCU

Macros | Functions | Variables
system_Mini51Series.h File Reference

Mini51 series system clock definition file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | __XTAL12M (12000000UL)
#define | __XTAL32K (32768UL)
#define | __IRC22M (22118400UL)
#define | __IRC10K (10000UL)
#define | __XTAL __XTAL12M
#define | __HSI (__IRC22M) /* Factory Default is internal 22MHz */

## Functions
void | SystemCoreClockUpdate (void)
| Updates the SystemCoreClock with current core Clock retrieved from CPU registers. More...

## Variables
uint32_t | SystemCoreClock
uint32_t | CyclesPerUs

## Detailed Description

Mini51 series system clock definition file.

Version
  V1.00

Revision
  4

Date
  13/11/07 4:40p

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

Definition in file system_Mini51Series.h.

## Macro Definition Documentation

## ◆ __HSI

#define __HSI (__IRC22M) /* Factory Default is internal 22MHz */

Definition at line 34 of file system_Mini51Series.h.

## ◆ __IRC10K

#define __IRC10K (10000UL)

Definition at line 32 of file system_Mini51Series.h.

## ◆ __IRC22M

#define __IRC22M (22118400UL)

Definition at line 31 of file system_Mini51Series.h.

## ◆ __XTAL

#define __XTAL __XTAL12M

Definition at line 33 of file system_Mini51Series.h.

## ◆ __XTAL12M

#define __XTAL12M (12000000UL)

Definition at line 29 of file system_Mini51Series.h.

## ◆ __XTAL32K

#define __XTAL32K (32768UL)

Definition at line 30 of file system_Mini51Series.h.

## Function Documentation

## ◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate | ( | void |  | ) |

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

Update SystemCoreClock variable

Parameters

  None |

Returns
  None

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

Parameters

  None. |

Return values

  None. |

Definition at line 31 of file system_Mini51Series.c.

Here is the caller graph for this function:

## Variable Documentation

## ◆ CyclesPerUs

uint32_t CyclesPerUs
| extern

Cycles per micro second

Definition at line 21 of file system_Mini51Series.c.

## ◆ SystemCoreClock

uint32_t SystemCoreClock
| extern

System Clock Frequency (Core Clock)

Definition at line 20 of file system_Mini51Series.c.