Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
system_netx.h File Reference

CMSIS Cortex-M4 Device Peripheral Access Layer Header File for Device netx90_app. More...

#include <stdint.h>
Include dependency graph for system_netx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NETX_CPU_BOOTBLOCK_T
 
struct  NETX_TEMP_CALIBRATION_T
 
struct  DRV_TRAMPOLINE_T
 

Macros

#define NETX_CPU_BOOTBLOCK_MAGIC   0xf3beaf00U
 
#define NETX_CPU_BOOTBLOCK_SIGNATURE   0x41505041U
 
#define __VectorsSize   128u
 

Functions

void SystemInit (void)
 Setup the microcontroller system. More...
 
static uint32_t SystemADC3V3To2V6 (uint32_t ulValue)
 
void SystemTemperatureByADCValue (uint32_t ulADCValue, int *ulTempValue)
 
void SystemCoreClockUpdate (void)
 Update SystemCoreClock variable. More...
 

Variables

uint32_t SystemCoreClock
 
void(* __preinit_array_start )()
 
void(* __preinit_array_end )()
 
void(* __init_array_start )()
 
void(* __init_array_end )()
 
NETX_TEMP_CALIBRATION_T g_atTemperatureCalibrationData [2]
 
int g_TemperatureGradient
 
int g_TemperatureIntercept
 
DRV_TRAMPOLINE_T tPageReaderFunction
 
DRV_TRAMPOLINE_T tPageFlasherFunction
 
void *const __Vectors []
 

Detailed Description

CMSIS Cortex-M4 Device Peripheral Access Layer Header File for Device netx90_app.

Version
V0.0.1.0-
Revision
3468
Date
14. August 2017

Definition in file system_netx.h.

Macro Definition Documentation

#define __VectorsSize   128u

Definition at line 146 of file system_netx.h.

#define NETX_CPU_BOOTBLOCK_MAGIC   0xf3beaf00U

Definition at line 53 of file system_netx.h.

#define NETX_CPU_BOOTBLOCK_SIGNATURE   0x41505041U

Definition at line 54 of file system_netx.h.

Function Documentation

static uint32_t SystemADC3V3To2V6 ( uint32_t  ulValue)
inlinestatic

Definition at line 97 of file system_netx.h.

Here is the call graph for this function:

void SystemCoreClockUpdate ( void  )

Update SystemCoreClock variable.

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

Function for setting the system core clock variable to default

Definition at line 49 of file system_netx.c.

Here is the caller graph for this function:

void SystemInit ( void  )

Setup the microcontroller system.

Initialize the System and update the SystemCoreClock variable.


System initialization function

Definition at line 247 of file system_netx.c.

Here is the call graph for this function:

void SystemTemperatureByADCValue ( uint32_t  ulADCValue,
int *  TempValue 
)

Global integer where the y-intercept of the temperature curve is stored.

Global function that calculates the temperature value by the given ADCValue. The reference voltage of the ADCValue has to met the one of the calibration values.

Definition at line 90 of file system_netx.c.

Here is the caller graph for this function:

Variable Documentation

void(* __init_array_end) ()

Constructor list end

void(* __init_array_start) ()

Constructor list start

void(* __preinit_array_end) ()

Pre constructor list end

void(* __preinit_array_start) ()

Pre constructor list start

void* const __Vectors[]

Pointer to the original reset vector.

NETX_TEMP_CALIBRATION_T g_atTemperatureCalibrationData[2]

Global array where the extracted calibration data is written to.

Definition at line 73 of file system_netx.c.

int g_TemperatureGradient

Global integer where the steepness of the temperature curve is stored.

Global integer value in which the steepness of the temperature curve is stored.

Definition at line 79 of file system_netx.c.

int g_TemperatureIntercept

Global integer where the y-intercept of the temperature curve is stored.

Global integer value in which the y-intercept of the temperature curve is stored.

Definition at line 84 of file system_netx.c.

uint32_t SystemCoreClock

System Clock Frequency (Core Clock)


System Core Clock Variable

Definition at line 40 of file system_netx.c.

DRV_TRAMPOLINE_T tPageFlasherFunction
DRV_TRAMPOLINE_T tPageReaderFunction