Category - |
-API - |
-Description - |
-
---|---|---|
I3C controller management - |
-I3cOpen - |
-Opens an I3C controller. - | -
I3cClose - |
-Closes an I3C controller. - |
-|
I3C transfer - |
-I3cTransfer - |
-Customizes an I3C transfer. - |
-
I3C controller configuration - |
-I3cSetConfig - |
-Sets an I3C controller. - | -
I3cGetConfig - |
-Obtains the I3C controller configuration. - |
-|
I3C IBI - |
-I3cRequestIbi - |
-Requests an IBI. - | -
I3cFreeIbi - |
-Releases an IBI. - |
-
Parameter - |
-Description - |
-
---|---|
number - |
-I3C controller ID. - |
-
Return Value - |
-Description - |
-
NULL - |
-Failed to open the I3C controller. - |
-
Controller handle - |
-Handle of the I3C controller opened. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
msgs - |
-Pointer to the message structure array of the data to be transmitted. - |
-
count - |
-Length of the message array. - |
-
mode - |
-Transmission mode, where the value 0 indicates the I2C mode, 1 indicates the I3C mode, and 2 indicates transmission of the Common Command Code (CCC). - |
-
Return Value - |
-Description - |
-
Positive integer - |
-Number of message structures successfully transferred. - |
-
Negative number - |
-The operation failed. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
config - |
-Pointer to the I3C controller configuration. - |
-
Return Value - |
-Description - |
-
0 - |
-The operation is successful. - |
-
Negative number - |
-Failed to obtain the I3C controller configuration. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
config - |
-Pointer to the I3C controller configuration. - |
-
Return Value - |
-Description - |
-
0 - |
-The operation is successful. - |
-
Negative number - |
-Failed to configure the I3C controller. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
addr - |
-I3C device address. - |
-
func - |
-Callback used to return the IBI. - |
-
payload - |
-IBI payload. - |
-
Return Value - |
-Description - |
-
0 - |
-The operation is successful. - |
-
Negative number - |
-Failed to request the IBI. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
addr - |
-I3C device address. - |
-
Return Value - |
-Description - |
-
0 - |
-The operation is successful. - |
-
Negative number - |
-Failed to release the IBI. - |
-
Parameter - |
-Description - |
-
---|---|
handle - |
-I3C controller handle. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -