iLLD_TC27xD  1.0
IfxCpu.c File Reference

CPU basic functionality. More...

#include "IfxCpu.h"

Go to the source code of this file.

Functions

boolean IfxCpu_acquireMutex (IfxCpu_mutexLock *lock)
 API to acquire the mutex (binary semaphore). More...
 
Ifx_CPU * IfxCpu_getAddress (IfxCpu_ResourceCpu cpu)
 API to get the address for CPU HW module register memory map. More...
 
IfxCpu_CoreMode IfxCpu_getCoreMode (Ifx_CPU *cpu)
 API to get current mode of CPU. More...
 
IfxCpu_ResourceCpu IfxCpu_getIndex (Ifx_CPU *cpu)
 API to get current mode of CPU. More...
 
uint32 IfxCpu_getRandomValue (uint32 *seed)
 API to get random value. More...
 
uint32 IfxCpu_getRandomValueWithinRange (uint32 *seed, uint32 min, uint32 max)
 API to get random value with in the range. More...
 
void IfxCpu_releaseMutex (IfxCpu_mutexLock *lock)
 API to unlock the mutex . More...
 
void IfxCpu_resetSpinLock (IfxCpu_spinLock *lock)
 API to unlock the resource . More...
 
boolean IfxCpu_setCoreMode (Ifx_CPU *cpu, IfxCpu_CoreMode mode)
 API to set mode of the CPU. More...
 
boolean IfxCpu_setProgramCounter (Ifx_CPU *cpu, uint32 programCounter)
 API to set the program counter for the CPU specified. More...
 
boolean IfxCpu_setSpinLock (IfxCpu_spinLock *lock, uint32 timeoutCount)
 API to lock the resource in spin mode with the given timeout. More...
 
boolean IfxCpu_startCore (Ifx_CPU *cpu, uint32 programCounter)
 API to set the program counter for the CPU specified and start the CPU. More...
 

Detailed Description

CPU basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxCpu.c.