TMPM4G9
V1.0.0.0
|
TRMOSC Sample Application. More...
#include "TMPM4Gx.h"
Macros | |
#define | SIWDEN_Val (0x00000000UL) /* SIWD Disable */ |
#define | SIWDCR_Val (0x000000B1UL) /* SIWD Disable code */ |
#define | IOSC_10M (10000000UL) |
#define | IXTALH IOSC_10M /* Internal high-speed oscillator freq */ |
#define | CORE_TALH (IXTALH) |
#define | __CORE_CLK (CORE_TALH) |
#define | __CORE_SYS (__CORE_CLK) |
Functions | |
void | SystemCoreClockUpdate (void) |
Update SystemCoreClock according register values. More... | |
void | SystemInit (void) |
Setup the microcontroller system. Initialize the System. More... | |
Variables | |
uint32_t | SystemCoreClock = __CORE_SYS |
TRMOSC Sample Application.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LISENCE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019
#define __CORE_CLK (CORE_TALH) |
#define __CORE_SYS (__CORE_CLK) |
#define CORE_TALH (IXTALH) |
#define IOSC_10M (10000000UL) |
#define IXTALH IOSC_10M /* Internal high-speed oscillator freq */ |
#define SIWDCR_Val (0x000000B1UL) /* SIWD Disable code */ |
#define SIWDEN_Val (0x00000000UL) /* SIWD Disable */ |
void SystemCoreClockUpdate | ( | void | ) |
Update SystemCoreClock according register values.
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
Initialize the system
none |
void SystemInit | ( | void | ) |
Setup the microcontroller system. Initialize the System.
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.
Initialize the system
none |
uint32_t SystemCoreClock = __CORE_SYS |
System Clock Frequency (Core Clock)