This list describes the differences between PRUICSS driver of MCU+ SDK and PRUSS driver from the PDK.
There are changes in API names, structure names and macro names. All names begin with PRUICSS_
now. Arguments to APIs are same as earlier. All the APIs from PDK driver are not included, only the ones used in the examples, Industrial Protocol FW HAL(Firmware and Hardware Abstraction Layer), ICSS-EMAC and ICSS Timesync an are added in the MCU+ SDK's driver. The changes in API names are listed below.
PDK | MCU+ SDK |
---|---|
Not available | PRUICSS_init |
Not available | PRUICSS_deinit |
PRUICSS_create | PRUICSS_open |
Not available | PRUICSS_close |
PRUICSS_pruIntcInit | PRUICSS_intcInit |
PRUICSS_registerIrqHandler | PRUICSS_registerIrqHandler |
PRUICSS_pruReset | PRUICSS_resetCore |
PRUICSS_pruDisable | PRUICSS_disableCore |
PRUICSS_pruEnable | PRUICSS_enableCore |
PRUICSS_pruInitMemory | PRUICSS_initMemory |
PRUICSS_pruWriteMemory | PRUICSS_writeMemory |
PRUICSS_pruReadMemory | PRUICSS_readMemory |
PRUICSS_pruSendEvent | PRUICSS_sendEvent |
PRUICSS_pruWaitEvent | PRUICSS_waitEvent |
PRUICSS_pruClearEvent | PRUICSS_clearEvent |
PRUICSS_pruSendWaitCearEvent | PRUICSS_sendWaitClearEvent |
PRUICSS_getICSSVersion | PRUICSS_getVersion |
PRUICSS_setConstantTblEntry | PRUICSS_setConstantTblEntry |
PRUICSS_setIepClkSrc | PRUICSS_setIepClkSrc |
pdk/packages/ti/csl/src/ip/icss/V1
in PDK driver. In MCU+ SDK, the CSL for ICSSG has been taken from pdk/packages/ti/csl/src/ip/icss/V3
, and the file name in MCU+ SDK is ${SDK_INSTALL_PATH}/source/drivers/pruicss/g_v0/cslr_icss_g.h
.HWREG
, HWREGH
and HWREGB
are deprecated from CSL in MCU+ SDK. They are replaced with the recommended replacements from ${SDK_INSTALL_PATH}/source/drivers/hw_include/hw_types.h
.