Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
netx_drv_cortex.c File Reference

CORTEX peripheral module driver. This file provides firmware functions to manage the following functionalities of the CORTEX: More...

#include "netx_drv.h"
Include dependency graph for netx_drv_cortex.c:

Go to the source code of this file.

Functions

void DRV_NVIC_SetPriorityGrouping (uint32_t PriorityGroup)
 This method sets the priority grouping. More...
 
void DRV_NVIC_SetPriority (IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
 This method sets the priority of a given interrupt. More...
 
void DRV_NVIC_EnableIRQ (IRQn_Type IRQn)
 This method enables a given interrupt. More...
 
void DRV_NVIC_DisableIRQ (IRQn_Type IRQn)
 This method disables a given interrupt. More...
 
void DRV_NVIC_SystemReset (void)
 This method resets the NVIC and the Cortex M4 internal registers and restarts the PC at 0. More...
 
uint32_t DRV_SYSTICK_Config (uint32_t TicksNumb)
 
uint32_t DRV_NVIC_GetPriorityGrouping (void)
 This function returns the priority grouping. More...
 
void DRV_NVIC_GetPriority (IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint32_t *pSubPriority)
 This method stores the priority of a given interrupt and group into the given locations. More...
 
void DRV_NVIC_SetPendingIRQ (IRQn_Type IRQn)
 This method sets a given interrupt pending. More...
 
uint32_t DRV_NVIC_GetPendingIRQ (IRQn_Type IRQn)
 This funciton returns the pending state of a given interrupt. More...
 
void DRV_NVIC_ClearPendingIRQ (IRQn_Type IRQn)
 This method clears the pending state of a given interrupt. More...
 
uint32_t DRV_NVIC_GetActive (IRQn_Type IRQn)
 This function returns the active state of a given interrupt. More...
 
uint32_t DRV_NVIC_GetEnableIRQ (IRQn_Type IRQn)
 This function returns the enable state of a given interrupt. More...
 
void DRV_NVIC_AttachIRQ (IRQn_Type IRQn, void *pfIRQHandler)
 This function may be used to attach or detach an interrupt to the software vector if it is used. More...
 
void * DRV_NVIC_GetIRQ (IRQn_Type IRQn)
 This function may be used to get the pointer of an interrupt. More...
 
int32_t DRV_ITM_ReceiveChar (void)
 Driver wrapper for ITM Receive Character. More...
 
int32_t DRV_ITM_CheckChar (void)
 Driver wrapper for ITM Check Character. More...
 
uint32_t DRV_ITM_SendChar (uint32_t ch)
 Driver wrapper for ITM Send Character. More...
 

Variables

int ulIrqSemaphore = 0
 Semaphore value for nested enabling/disabling of all interrupts. More...
 

Detailed Description

CORTEX peripheral module driver. This file provides firmware functions to manage the following functionalities of the CORTEX:

  • Initialization and de-initialization functions
  • Peripheral Control functions
    Revision
    6251
    Date
    2019-10-07 09:27:10 +0200 (Mo, 07 Okt 2019)
    Note
    Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!

Definition in file netx_drv_cortex.c.