- toolkit V2.8.0.1@14806 - BSL V1.8.0.0@14590 - tcpserver: V1.4.3.0@14676 (marshaller V2.4.0.1@14551)
25 lines
1.3 KiB
C
25 lines
1.3 KiB
C
/**************************************************************************************
|
|
*
|
|
* Copyright (c) 2024, Hilscher Gesellschaft fuer Systemautomation mbH. All Rights Reserved.
|
|
*
|
|
* Changes:
|
|
*
|
|
* Version Date Author Description
|
|
* ----------------------------------------------------------------------------------
|
|
* 1 02.01.24 SD changed licensing terms
|
|
*
|
|
**************************************************************************************/
|
|
|
|
/******************************************************************************/
|
|
/*! Initializes a cifX device for SDPM (usage of SPI).
|
|
* \param pszSPIDevice Name of spidev device file (optional)
|
|
* \param bMode SPI mode
|
|
* \param bBits Bits per SPI word
|
|
* \param ulFrequency SPI frequency
|
|
* \param pszIRQFile Name of IRQ trigger file (optional)
|
|
* \return Pointer to initialized cifX device on success
|
|
* NULL on error */
|
|
/******************************************************************************/
|
|
struct CIFX_DEVICE_T* SDPMInit(uint8_t *pszSPIDevice, uint8_t bMode, uint8_t bBits, uint32_t ulFrequency, uint8_t *pszIRQFile, uint32_t ulChunkSize, uint8_t bCSChange);
|
|
void SDPMDeInit( struct CIFX_DEVICE_T* ptDevice);
|