Skip to content

File system_apollo4p.c

FileList > apollo4p > armclang > system_apollo4p.c

Go to the source code of this file

Ambiq Micro Apollo4 Plus MCU specific functions.

  • #include <stdint.h>
  • #include "system_apollo4p.h"
  • #include "apollo4p.h"

Public Attributes

Type Name
uint32_t SystemCoreClock = \_\_SYSTEM\_CLOCK

Public Functions

Type Name
void SystemCoreClockUpdate (void)
Set the global clock frequncy.
void SystemInit (void)
Initialize the system.

Macros

Type Name
define __HSI (6000000UL)
define __SYSTEM_CLOCK (1 \* \_\_SYS\_OSC\_CLK)
define __SYS_OSC_CLK (96000000)
define __XTAL (32768UL)

Public Attributes Documentation

variable SystemCoreClock

uint32_t SystemCoreClock;

Public Functions Documentation

function SystemCoreClockUpdate

Set the global clock frequncy.

void SystemCoreClockUpdate (
    void
) 

This function sets the global clock frequency.

Returns:

None.


function SystemInit

Initialize the system.

void SystemInit (
    void
) 

This function sets up the microcontroller system.

Returns:

None.


Macro Definition Documentation

define __HSI

#define __HSI `(6000000UL)`

define __SYSTEM_CLOCK

#define __SYSTEM_CLOCK `(1 * __SYS_OSC_CLK)`

define __SYS_OSC_CLK

#define __SYS_OSC_CLK `(96000000)`

define __XTAL

#define __XTAL `(32768UL)`


The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-core/src/apollo4p/armclang/system_apollo4p.c