iLLD_TC29x  1.0
IfxHssl_Hssl.h File Reference

HSSL HSSL details. More...

#include "Hssl/Std/IfxHssl.h"
#include "Port/Std/IfxPort.h"

Go to the source code of this file.

Data Structures

struct  IfxHssl_Hssl_AccessWindow
 structure for access windows More...
 
struct  IfxHssl_Hssl_errorFlags
 structure for error flags More...
 
struct  IfxHssl_Hssl
 HSSL Handle. More...
 
struct  IfxHssl_Hssl_Channel
 channel handle More...
 
struct  IfxHssl_Hssl_ChannelConfig
 configuration structure for channel More...
 
struct  IfxHssl_Hssl_Config
 configuration structure of the HSSL module More...
 

Enumerations

enum  IfxHssl_Hssl_FrameRequest {
  IfxHssl_Hssl_FrameRequest_readFrame = 1,
  IfxHssl_Hssl_FrameRequest_writeFrame = 2,
  IfxHssl_Hssl_FrameRequest_triggerFrame = 3,
  IfxHssl_Hssl_FrameRequest_readId = 4,
  IfxHssl_Hssl_FrameRequest_noAction = 5
}
 frame request selection More...
 
enum  IfxHssl_Hssl_Status {
  IfxHssl_Hssl_Status_ok = 0,
  IfxHssl_Hssl_Status_busy = 1,
  IfxHssl_Hssl_Status_error = 2
}
 module status More...
 

Functions

IFX_EXTERN void IfxHssl_Hssl_initHsctModule (IfxHssl_Hsct *hsct, const IfxHssl_Hsct_Config *config)
 Initialises the module. More...
 
IFX_EXTERN void IfxHssl_Hssl_initHsctModuleConfig (IfxHssl_Hsct_Config *config, Ifx_HSCT *hsct)
 Fills the config structure with default values. More...
 
IFX_EXTERN void IfxHssl_Hssl_initHsslModule (IfxHssl_Hssl *hssl, const IfxHssl_Hssl_Config *config)
 Initialises the Hssl module. More...
 
IFX_EXTERN void IfxHssl_Hssl_initHsslModuleConfig (IfxHssl_Hssl_Config *config, Ifx_HSSL *hssl)
 Fills the config structure with default values. More...
 
IFX_EXTERN void IfxHssl_Hssl_initChannel (IfxHssl_Hssl_Channel *channel, const IfxHssl_Hssl_ChannelConfig *channelConfig)
 Initialises the channel. More...
 
IFX_EXTERN void IfxHssl_Hssl_initChannelConfig (IfxHssl_Hssl_ChannelConfig *channelConfig, IfxHssl_Hssl *hssl, IfxHssl_Hsct *hsct)
 Fills the channel config structure with default values. More...
 
IFX_INLINE uint32 IfxHssl_Hssl_getReadData (IfxHssl_Hssl_Channel *channel)
 reads and returs the data More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_read (IfxHssl_Hssl_Channel *channel, uint32 address, IfxHssl_DataLength dataLength)
 Initiates read request. More...
 
IFX_EXTERN void IfxHssl_Hssl_sendControlCommand (IfxHssl_Hsct *hsct, uint8 command)
 sends a predefined command from master to slave More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_singleFrameRequest (IfxHssl_Hssl_Channel *channel, IfxHssl_Hssl_FrameRequest frameRequest, uint32 address, uint32 data, IfxHssl_DataLength dataLength)
 serves the frame request (read, write, trigger frame and read id) More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_waitAcknowledge (IfxHssl_Hssl_Channel *channel)
 waits until the current transaction is done More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_write (IfxHssl_Hssl_Channel *channel, uint32 address, uint32 data, IfxHssl_DataLength dataLength)
 writes single frame of data into the specified address More...
 
IFX_EXTERN void IfxHssl_Hssl_checkErrors (IfxHssl_Hssl *hssl)
 stores the status of errors in the respective members of the error flags structure More...
 
IFX_EXTERN void IfxHssl_Hssl_clearErrorFlags (IfxHssl_Hssl *hssl)
 clears the status of members in the error flags structure More...
 
IFX_EXTERN void IfxHssl_Hssl_delay (IfxHssl_Hsct *hsct)
 a simple software delay More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_prepareStream (IfxHssl_Hssl_Channel *channel, uint32 slaveTargetAddress, Ifx_SizeT count)
 Prepares the target device for streaming. More...
 
IFX_EXTERN IfxHssl_Hssl_Status IfxHssl_Hssl_writeStream (IfxHssl_Hssl *hssl, uint32 *data, Ifx_SizeT count)
 transfers one memory block of data useful for transfering huge data from one location to another and between devices More...
 

Detailed Description

HSSL HSSL details.

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 IfxHssl_Hssl.h.


Data Structure Documentation

struct IfxHssl_Hssl_errorFlags

structure for error flags

Definition at line 422 of file IfxHssl_Hssl.h.

Data Fields
uint8 busAccessError: 1 SRI/SPB bus access error.
uint8 channelNumberCodeError: 1 PHY inconsistency error 1 (channel number code error)
uint8 crcError: 1 CRC error.
uint8 dataLengthError: 1 PHY inconsistency error 2 (data length error)
uint8 memoryAccessViolation: 1 memory access violation
uint8 notAcknowledgeError: 1 not acknowledge error / tag error
uint8 timeoutError: 1 timeout error
uint8 transactionTagError: 1 transaction tag error
uint8 unexpectedError: 1 unexpected type of frame error