iLLD_TC27xD
1.0
|
This files defines all types used by the IFX HAL and libraries. More...
Go to the source code of this file.
Data Structures | |
struct | Ifx_CircularBuffer |
Circular buffer definition. More... | |
struct | Ifx_IsrSetting |
struct | IfxModule_IndexMap |
Module address and index map. More... | |
struct | Ifx_DataBufferMode_TimeStampSingle |
Macros | |
#define | TIME_INFINITE ((Ifx_TickTime)0x7FFFFFFFFFFFFFFFLL) |
#define | TIME_NULL ((Ifx_TickTime)0x0000000000000000LL) |
#define | IFX_ONES (0xFFFFFFFFFFFFFFFFU) |
#define | IFX_ZEROS (0x0000000000000000U) |
#define | IFX_SIZET_MAX (0x7FFF) |
#define | IFX_PI (3.1415926535897932384626433832795) |
#define | IFX_TWO_OVER_PI (2.0 / IFX_PI) |
#define | IFX_ONE_OVER_SQRT_THREE (0.57735026918962576450914878050196) |
#define | IFX_SQRT_TWO (1.4142135623730950488016887242097) |
Typedefs | |
typedef signed long long | sint64 |
-9223372036854775808 .. +9223372036854775807 More... | |
typedef unsigned long long | uint64 |
0 .. 18446744073709551615 More... | |
typedef const char * | pchar |
const char pointer More... | |
typedef void * | pvoid |
void pointer More... | |
typedef volatile void * | vvoid |
volatile void pointer More... | |
typedef sint64 | Ifx_TickTime |
Time in ticks. More... | |
typedef sint16 | Ifx_SizeT |
Type used for data stream size. More... | |
typedef uint16 | Ifx_Priority |
Used in interrupt service priorities. More... | |
typedef uint32 | Ifx_TimerValue |
Used in timer values. More... | |
typedef sint32 | Ifx_SignedTimerVal |
Used in signed timer values. More... | |
typedef pvoid | Ifx_AddressValue |
Used in address values. More... | |
Enumerations | |
enum | Ifx_ActiveState { Ifx_ActiveState_low = 0, Ifx_ActiveState_high = 1 } |
Signal active state definition. More... | |
enum | Ifx_ParityMode { Ifx_ParityMode_even = 0, Ifx_ParityMode_odd = 1 } |
enum | Ifx_RxSel { Ifx_RxSel_a, Ifx_RxSel_b, Ifx_RxSel_c, Ifx_RxSel_d, Ifx_RxSel_e, Ifx_RxSel_f, Ifx_RxSel_g, Ifx_RxSel_h } |
input multiplexer definition used in PinMaps More... | |
enum | Ifx_DataBufferMode { Ifx_DataBufferMode_normal = 0, Ifx_DataBufferMode_timeStampSingle } |
enum | Ifx_Pwm_Mode { Ifx_Pwm_Mode_centerAligned = 0, Ifx_Pwm_Mode_centerAlignedInverted = 1, Ifx_Pwm_Mode_leftAligned = 2, Ifx_Pwm_Mode_rightAligned = 3, Ifx_Pwm_Mode_off = 4, Ifx_Pwm_Mode_init = 5, Ifx_Pwm_Mode_count = 6 } |
This files defines all types used by the IFX HAL and libraries.
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 Ifx_Types.h.
struct Ifx_CircularBuffer |
Circular buffer definition.
Definition at line 60 of file Ifx_Types.h.
Data Fields | ||
---|---|---|
void * | base | buffer base address |
uint16 | index | buffer current index |
uint16 | length | buffer length |
struct Ifx_IsrSetting |
Definition at line 73 of file Ifx_Types.h.
Data Fields | ||
---|---|---|
uint16 | priority | |
uint16 | provider |
struct IfxModule_IndexMap |
Module address and index map.
Definition at line 107 of file Ifx_Types.h.
Data Fields | ||
---|---|---|
sint32 | index | Module index. |
volatile void * | module | Module address. |
struct Ifx_DataBufferMode_TimeStampSingle |
Definition at line 113 of file Ifx_Types.h.
Data Fields | ||
---|---|---|
uint8 | data | |
Ifx_TickTime | timestamp |
#define IFX_ONE_OVER_SQRT_THREE (0.57735026918962576450914878050196) |
Definition at line 169 of file Ifx_Types.h.
#define IFX_ONES (0xFFFFFFFFFFFFFFFFU) |
Definition at line 47 of file Ifx_Types.h.
#define IFX_PI (3.1415926535897932384626433832795) |
Definition at line 167 of file Ifx_Types.h.
Referenced by IfxGpt12_IncrEnc_getAbsolutePosition(), IfxGpt12_IncrEnc_init(), IfxGpt12_IncrEnc_initConfig(), IfxGpt12_IncrEnc_setRefreshPeriod(), IfxStdIf_Pos_initConfig(), IfxStdIf_Pos_radsToRpm(), and IfxStdIf_Pos_rpmToRads().
#define IFX_SIZET_MAX (0x7FFF) |
Definition at line 55 of file Ifx_Types.h.
Referenced by Ifx_Fifo_init().
#define IFX_SQRT_TWO (1.4142135623730950488016887242097) |
Definition at line 170 of file Ifx_Types.h.
#define IFX_TWO_OVER_PI (2.0 / IFX_PI) |
Definition at line 168 of file Ifx_Types.h.
#define IFX_ZEROS (0x0000000000000000U) |
Definition at line 48 of file Ifx_Types.h.
Referenced by IfxGtm_Atom_Ch_setNotification(), and IfxGtm_Tom_Ch_setNotification().
#define TIME_INFINITE ((Ifx_TickTime)0x7FFFFFFFFFFFFFFFLL) |
Definition at line 44 of file Ifx_Types.h.
Referenced by addTTime(), getDeadLine(), getTimeout(), Ifx_Console_print(), Ifx_Console_printAlign(), IfxAsclin_Asc_blockingRead(), IfxAsclin_Asc_blockingWrite(), IfxStdIf_DPipe_print(), isDeadLine(), now(), and nowWithoutCriticalSection().
#define TIME_NULL ((Ifx_TickTime)0x0000000000000000LL) |
Definition at line 45 of file Ifx_Types.h.
Referenced by Ifx_Shell_process(), IfxAsclin_Asc_initiateTransmission(), IfxAsclin_Asc_isrReceive(), and IfxAsclin_Asc_isrTransmit().
typedef pvoid Ifx_AddressValue |
Used in address values.
Definition at line 71 of file Ifx_Types.h.
typedef uint16 Ifx_Priority |
Used in interrupt service priorities.
Definition at line 67 of file Ifx_Types.h.
typedef sint32 Ifx_SignedTimerVal |
Used in signed timer values.
Definition at line 69 of file Ifx_Types.h.
Type used for data stream size.
Definition at line 56 of file Ifx_Types.h.
typedef sint64 Ifx_TickTime |
Time in ticks.
Definition at line 43 of file Ifx_Types.h.
typedef uint32 Ifx_TimerValue |
Used in timer values.
Definition at line 68 of file Ifx_Types.h.
typedef const char* pchar |
const char pointer
Definition at line 39 of file Ifx_Types.h.
typedef void* pvoid |
void pointer
Definition at line 40 of file Ifx_Types.h.
typedef signed long long sint64 |
-9223372036854775808 .. +9223372036854775807
Definition at line 36 of file Ifx_Types.h.
typedef unsigned long long uint64 |
0 .. 18446744073709551615
Definition at line 37 of file Ifx_Types.h.
typedef volatile void* vvoid |
volatile void pointer
Definition at line 41 of file Ifx_Types.h.
enum Ifx_ActiveState |
Signal active state definition.
Enumerator | |
---|---|
Ifx_ActiveState_low |
The signal is low active. |
Ifx_ActiveState_high |
The signal is high active. |
Definition at line 80 of file Ifx_Types.h.
enum Ifx_DataBufferMode |
Enumerator | |
---|---|
Ifx_DataBufferMode_normal |
normal mode, each received byte is moved to the rx fifo |
Ifx_DataBufferMode_timeStampSingle |
Single byte type stamp mode. The rx fifo is filled in with Ifx_DataBufferMode_TimeStampSingle items. |
Definition at line 128 of file Ifx_Types.h.
enum Ifx_ParityMode |
Enumerator | |
---|---|
Ifx_ParityMode_even | |
Ifx_ParityMode_odd |
Definition at line 86 of file Ifx_Types.h.
enum Ifx_Pwm_Mode |
Defines the PWM modes
The 1st member shall start with value 0, and the next members value shall be the previous member +1 pwmMode_off shall be the member with the higher index
Definition at line 141 of file Ifx_Types.h.
enum Ifx_RxSel |
input multiplexer definition used in PinMaps
Enumerator | |
---|---|
Ifx_RxSel_a | |
Ifx_RxSel_b | |
Ifx_RxSel_c | |
Ifx_RxSel_d | |
Ifx_RxSel_e | |
Ifx_RxSel_f | |
Ifx_RxSel_g | |
Ifx_RxSel_h |
Definition at line 94 of file Ifx_Types.h.