NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
Functions
sys.c File Reference

Nano 103 SYS driver source file. More...

#include "Nano103.h"
Include dependency graph for sys.c:

Go to the source code of this file.

Functions

void SYS_ClearResetSrc (uint32_t u32Src)
 Clear reset source. More...
 
uint32_t SYS_GetBODStatus (void)
 Get Brown-out detector output status. More...
 
uint32_t SYS_GetResetSrc (void)
 This function get the system reset source register value. More...
 
uint32_t SYS_IsRegLocked (void)
 This function check register write-protection bit setting. More...
 
uint32_t SYS_ReadPDID (void)
 This function get product ID. More...
 
void SYS_ResetChip (void)
 This function reset chip. More...
 
void SYS_ResetCPU (void)
 This function reset CPU. More...
 
void SYS_ResetModule (uint32_t u32ModuleIndex)
 This function reset selected modules. More...
 
void SYS_EnableBOD (int32_t i32Mode, uint32_t u32BODLevel)
 This function configure Normal BOD function. Configure BOD reset or interrupt mode and set Brown-out voltage level. Enable Brown-out function. More...
 
void SYS_DisableBOD (void)
 This function disable Normal BOD function. More...
 
void SYS_EnableLPBOD (int32_t i32Mode, uint32_t u32BODLevel)
 This function configure Low Power BOD function only valid in Power Down mode. Configure Low Power BOD reset or interrupt mode and set Low Power Brown-out voltage level. Enable Low Power Brown-out function. More...
 
void SYS_DisableLPBOD (void)
 This function disable Low Power BOD function. More...
 
void SYS_EnableHIRC0Trim (uint32_t u32TrimSel, uint32_t u32TrimEnInt)
 This function enable HIRC0 trim function. More...
 
void SYS_DisableHIRC0Trim (void)
 This function disable HIRC0 trim function. More...
 
void SYS_EnableHIRC1Trim (uint32_t u32TrimSel, uint32_t u32TrimEnInt)
 This function enable HIRC1 trim function. More...
 
void SYS_DisableHIRC1Trim (void)
 This function disable HIRC1 trim function. More...
 
void SYS_EnableMIRCTrim (uint32_t u32TrimSel, uint32_t u32TrimEnInt)
 This function enable MIRC trim function. More...
 
void SYS_DisableMIRCTrim (void)
 This function disable HIRC0 trim function. More...
 

Detailed Description

Nano 103 SYS driver source file.

Version
V1.00
Revision
5
Date
16/01/28 3:37p
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2015 Nuvoton Technology Corp. All rights reserved.

Definition in file sys.c.