iLLD_TC27xC  1.0
IfxCpu.c File Reference

CPU basic functionality. More...

#include "IfxCpu.h"
#include "_Impl/IfxScu_cfg.h"

Go to the source code of this file.

Functions

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...
 
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_startCore (Ifx_CPU *cpu, uint32 programCounter)
 API to set the program counter for the CPU specified and start the CPU. More...
 
boolean IfxCpu_setSpinLock (IfxCpu_spinLock *lock, uint32 timeoutCount)
 API to lock the resource in spin mode with the given timeout. More...
 
void IfxCpu_resetSpinLock (IfxCpu_spinLock *lock)
 API to unlock the resource . More...
 
boolean IfxCpu_acquireMutex (IfxCpu_mutexLock *lock)
 API to acquire the mutex (binary semaphore). More...
 
void IfxCpu_releaseMutex (IfxCpu_mutexLock *lock)
 API to unlock the mutex . More...
 

Detailed Description

CPU basic functionality.

Version
iLLD_0_1_0_10
                            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.