iLLD_TC27xD  1.0
IfxIom.h File Reference

IOM basic functionality. More...

#include "_Impl/IfxIom_cfg.h"
#include "IfxIom_reg.h"
#include "Scu/Std/IfxScuWdt.h"
#include "Cpu/Std/IfxCpu_Intrinsics.h"

Go to the source code of this file.

Enumerations

enum  IfxIom_EdgeClearType {
  IfxIom_EdgeClearType_rising = 0,
  IfxIom_EdgeClearType_falling = 1,
  IfxIom_EdgeClearType_risingFalling = 2
}
 Specifies the edge type which need to be cleared. More...
 
enum  IfxIom_EventActiveEdgeSelection {
  IfxIom_EventActiveEdgeSelection_neitherGateNeitherClear = 0,
  IfxIom_EventActiveEdgeSelection_neitherGatePositiveClear = 1,
  IfxIom_EventActiveEdgeSelection_neitherGateNegativeClear = 2,
  IfxIom_EventActiveEdgeSelection_neitherGateEitherClear = 3,
  IfxIom_EventActiveEdgeSelection_positiveGateNeitherClear = 4,
  IfxIom_EventActiveEdgeSelection_positiveGatePositiveClear = 5,
  IfxIom_EventActiveEdgeSelection_positiveGateNegativeClear = 6,
  IfxIom_EventActiveEdgeSelection_positiveGateEitherClear = 7,
  IfxIom_EventActiveEdgeSelection_negativeGateNeitherClear = 8,
  IfxIom_EventActiveEdgeSelection_negativeGatePositiveClear = 9,
  IfxIom_EventActiveEdgeSelection_negativeGateNegativeClear = 10,
  IfxIom_EventActiveEdgeSelection_negativeGateEitherClear = 11,
  IfxIom_EventActiveEdgeSelection_eitherGateNeitherClear = 12,
  IfxIom_EventActiveEdgeSelection_eitherGatePositiveClear = 13,
  IfxIom_EventActiveEdgeSelection_eitherGateNegativeClear = 14,
  IfxIom_EventActiveEdgeSelection_eitherGateEitherClear = 15
}
 LAMCFG[lamId].EDS, Specifies which active edges of the monitor and reference signals are used for the event window generation. More...
 
enum  IfxIom_EventCounterChannel {
  IfxIom_EventCounterChannel_0 = 0,
  IfxIom_EventCounterChannel_1,
  IfxIom_EventCounterChannel_2,
  IfxIom_EventCounterChannel_3,
  IfxIom_EventCounterChannel_4,
  IfxIom_EventCounterChannel_5,
  IfxIom_EventCounterChannel_6,
  IfxIom_EventCounterChannel_7,
  IfxIom_EventCounterChannel_8,
  IfxIom_EventCounterChannel_9,
  IfxIom_EventCounterChannel_10,
  IfxIom_EventCounterChannel_11,
  IfxIom_EventCounterChannel_12,
  IfxIom_EventCounterChannel_13,
  IfxIom_EventCounterChannel_14,
  IfxIom_EventCounterChannel_15
}
 ECMCCFG.SELCx(x= 0,1,2,3), Specifies which channel event output is to be routed to counterCn. More...
 
enum  IfxIom_EventCounterThreshold {
  IfxIom_EventCounterThreshold_disable = 0,
  IfxIom_EventCounterThreshold_1 = 1,
  IfxIom_EventCounterThreshold_2,
  IfxIom_EventCounterThreshold_3,
  IfxIom_EventCounterThreshold_4,
  IfxIom_EventCounterThreshold_5,
  IfxIom_EventCounterThreshold_6,
  IfxIom_EventCounterThreshold_7,
  IfxIom_EventCounterThreshold_8,
  IfxIom_EventCounterThreshold_9,
  IfxIom_EventCounterThreshold_10,
  IfxIom_EventCounterThreshold_11,
  IfxIom_EventCounterThreshold_12,
  IfxIom_EventCounterThreshold_13,
  IfxIom_EventCounterThreshold_14,
  IfxIom_EventCounterThreshold_15
}
 ECMCCFG.THRCx(x= 0,1,2,3), Specifies the threshold count value. Upon the counter meeting the threshold, the counter event output becomes active high. More...
 
enum  IfxIom_EventSource {
  IfxIom_EventSource_reference = 0,
  IfxIom_EventSource_monitor = 1
}
 LAMCFG[lamId].EWS, Specifies whether the event window generation is from the monitor or reference signal. More...
 
enum  IfxIom_FilterMode {
  IfxIom_FilterMode_delayedDebounce = 0,
  IfxIom_FilterMode_immediateDebounce = 1,
  IfxIom_FilterMode_risingEdgeImmediateDebounce = 2,
  IfxIom_FilterMode_fallingEdgeImmediateDebounce = 3,
  IfxIom_FilterMode_risingEdgeDelayedFallingEdgeImmediateDebounce = 4,
  IfxIom_FilterMode_fallingEdgeDelayedRisingEdgeImmediateDebounce = 5,
  IfxIom_FilterMode_risingEdgePrescaler = 6,
  IfxIom_FilterMode_FallingEdgePrescaler = 7
}
 FPCCTR[channelId].MOD, Specifies the Filter & Prescaler Cell mode. More...
 
enum  IfxIom_FpcChannelId {
  IfxIom_FpcChannelId_0 = 0,
  IfxIom_FpcChannelId_1,
  IfxIom_FpcChannelId_2,
  IfxIom_FpcChannelId_3,
  IfxIom_FpcChannelId_4,
  IfxIom_FpcChannelId_5,
  IfxIom_FpcChannelId_6,
  IfxIom_FpcChannelId_7,
  IfxIom_FpcChannelId_8,
  IfxIom_FpcChannelId_9,
  IfxIom_FpcChannelId_10,
  IfxIom_FpcChannelId_11,
  IfxIom_FpcChannelId_12,
  IfxIom_FpcChannelId_13,
  IfxIom_FpcChannelId_14,
  IfxIom_FpcChannelId_15
}
 Specifies the number of Filter & Prescaler Cell channel Id. More...
 
enum  IfxIom_LamMonitorInputChannel {
  IfxIom_LamMonitorInputChannel_0 = 0,
  IfxIom_LamMonitorInputChannel_1,
  IfxIom_LamMonitorInputChannel_2,
  IfxIom_LamMonitorInputChannel_3,
  IfxIom_LamMonitorInputChannel_4,
  IfxIom_LamMonitorInputChannel_5,
  IfxIom_LamMonitorInputChannel_6,
  IfxIom_LamMonitorInputChannel_7,
  IfxIom_LamMonitorInputChannel_8,
  IfxIom_LamMonitorInputChannel_9,
  IfxIom_LamMonitorInputChannel_10,
  IfxIom_LamMonitorInputChannel_11,
  IfxIom_LamMonitorInputChannel_12,
  IfxIom_LamMonitorInputChannel_13,
  IfxIom_LamMonitorInputChannel_14,
  IfxIom_LamMonitorInputChannel_15
}
 LAMCFG[lamId].MCS, Specifies which FPC/mux block monitor output signal is to be used for LAM block. More...
 
enum  IfxIom_LamMonitorSource {
  IfxIom_LamMonitorSource_directFpcMonitor = 0,
  IfxIom_LamMonitorSource_exoredFpcMonitor = 1
}
 LAMCFG[lamId].MOS, Specifies whether the monitor signal from the FPC monitor channel is sourced directly or compared with the reference signal from the FPC reference channel for the event compare. More...
 
enum  IfxIom_LamReferenceInputChannel {
  IfxIom_LamReferenceInputChannel_0 = 0,
  IfxIom_LamReferenceInputChannel_1,
  IfxIom_LamReferenceInputChannel_2,
  IfxIom_LamReferenceInputChannel_3,
  IfxIom_LamReferenceInputChannel_4,
  IfxIom_LamReferenceInputChannel_5,
  IfxIom_LamReferenceInputChannel_6,
  IfxIom_LamReferenceInputChannel_7,
  IfxIom_LamReferenceInputChannel_8,
  IfxIom_LamReferenceInputChannel_9,
  IfxIom_LamReferenceInputChannel_10,
  IfxIom_LamReferenceInputChannel_11,
  IfxIom_LamReferenceInputChannel_12,
  IfxIom_LamReferenceInputChannel_13,
  IfxIom_LamReferenceInputChannel_14,
  IfxIom_LamReferenceInputChannel_15
}
 LAMCFG[lamId].RCS, Specifies which FPC/mux block reference output signal is to be used for LAM block. More...
 
enum  IfxIom_LamRunMode {
  IfxIom_LamRunMode_freeRunning = 0,
  IfxIom_LamRunMode_gated = 1
}
 LAMCFG[lamId].RMS, Specifies whether the event window generation is free-running or gated with the monitor or reference. More...
 
enum  IfxIom_MonitorSignal {
  IfxIom_MonitorSignal_portLogic = 0,
  IfxIom_MonitorSignal_0 = 1,
  IfxIom_MonitorSignal_1,
  IfxIom_MonitorSignal_2
}
 FPCCTR[channelId].ISM, Specifies the monitor signal input for Filter & Prescaler cell. More...
 
enum  IfxIom_ReferenceSignal {
  IfxIom_ReferenceSignal_portLogic = 0,
  IfxIom_ReferenceSignal_0 = 1,
  IfxIom_ReferenceSignal_1,
  IfxIom_ReferenceSignal_2,
  IfxIom_ReferenceSignal_gtmEXORCombiner = 4
}
 FPCCTR[channelId].ISR,Specifies the reference signal input for Filter & Prescaler cell. More...
 
enum  IfxIom_SleepMode {
  IfxIom_SleepMode_enable = 0,
  IfxIom_SleepMode_disable = 1
}
 Enable/disable the sensitivity of the module to sleep signal
Definition in Ifx_IOM.CLC.B.EDIS. More...
 
enum  IfxIom_LamId {
  IfxIom_LamId_0 = 0,
  IfxIom_LamId_1,
  IfxIom_LamId_2,
  IfxIom_LamId_3,
  IfxIom_LamId_4,
  IfxIom_LamId_5,
  IfxIom_LamId_6,
  IfxIom_LamId_7,
  IfxIom_LamId_8,
  IfxIom_LamId_9,
  IfxIom_LamId_10,
  IfxIom_LamId_11,
  IfxIom_LamId_12,
  IfxIom_LamId_13,
  IfxIom_LamId_14,
  IfxIom_LamId_15
}
 Specifies the Logic Module Analyser Module Number. More...
 

Functions

IFX_INLINE void IfxIom_enableModule (Ifx_IOM *iom)
 Enable the IOM module control. More...
 
IFX_EXTERN void IfxIom_resetModule (Ifx_IOM *iom)
 Reset the IOM module. More...
 
IFX_INLINE void IfxIom_setSleepMode (Ifx_IOM *iom, IfxIom_SleepMode mode)
 Enable/disable the sensitivity of the module to sleep signal. More...
 
IFX_INLINE uint16 IfxIom_eventTriggerHistory (Ifx_IOM *iom)
 

Detailed Description

IOM 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 IfxIom.h.

Enumeration Type Documentation

Specifies the Logic Module Analyser Module Number.

Enumerator
IfxIom_LamId_0 

Specifies the LAM Id 0.

IfxIom_LamId_1 

Specifies the LAM Id 1.

IfxIom_LamId_2 

Specifies the LAM Id 2.

IfxIom_LamId_3 

Specifies the LAM Id 3.

IfxIom_LamId_4 

Specifies the LAM Id 4.

IfxIom_LamId_5 

Specifies the LAM Id 5.

IfxIom_LamId_6 

Specifies the LAM Id 6.

IfxIom_LamId_7 

Specifies the LAM Id 7.

IfxIom_LamId_8 

Specifies the LAM Id 8.

IfxIom_LamId_9 

Specifies the LAM Id 9.

IfxIom_LamId_10 

Specifies the LAM Id 10.

IfxIom_LamId_11 

Specifies the LAM Id 11.

IfxIom_LamId_12 

Specifies the LAM Id 12.

IfxIom_LamId_13 

Specifies the LAM Id 13.

IfxIom_LamId_14 

Specifies the LAM Id 14.

IfxIom_LamId_15 

Specifies the LAM Id 15.

Definition at line 264 of file IfxIom.h.

Function Documentation

IFX_INLINE uint16 IfxIom_eventTriggerHistory ( Ifx_IOM *  iom)
Parameters
iompointer to IOM register space
Returns
the last generated event

Definition at line 345 of file IfxIom.h.

IFX_INLINE void IfxIom_setSleepMode ( Ifx_IOM *  iom,
IfxIom_SleepMode  mode 
)

Enable/disable the sensitivity of the module to sleep signal.

Parameters
iompointer to IOM registers
modemode selection (enable/disable)
Returns
None

Definition at line 336 of file IfxIom.h.