mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Made FlushWriteData public.
This commit is contained in:
@@ -53,6 +53,8 @@ public:
|
|||||||
// public libpinproc API:
|
// public libpinproc API:
|
||||||
int GetEvents(PREvent *events, int maxEvents);
|
int GetEvents(PREvent *events, int maxEvents);
|
||||||
|
|
||||||
|
PRResult FlushWriteData();
|
||||||
|
|
||||||
PRResult DriverUpdateGlobalConfig(PRDriverGlobalConfig *driverGlobalConfig);
|
PRResult DriverUpdateGlobalConfig(PRDriverGlobalConfig *driverGlobalConfig);
|
||||||
PRResult DriverGetGroupConfig(uint8_t groupNum, PRDriverGroupConfig *driverGroupConfig);
|
PRResult DriverGetGroupConfig(uint8_t groupNum, PRDriverGroupConfig *driverGroupConfig);
|
||||||
PRResult DriverUpdateGroupConfig(PRDriverGroupConfig *driverGroupConfig);
|
PRResult DriverUpdateGroupConfig(PRDriverGroupConfig *driverGroupConfig);
|
||||||
@@ -82,9 +84,6 @@ protected:
|
|||||||
/** Schedules data to be written to the P-ROC. */
|
/** Schedules data to be written to the P-ROC. */
|
||||||
PRResult PrepareWriteData(uint32_t * buffer, int32_t numWords);
|
PRResult PrepareWriteData(uint32_t * buffer, int32_t numWords);
|
||||||
|
|
||||||
/** Initiates a burst write of all data scheduled to be written to the P-ROC. */
|
|
||||||
PRResult FlushWriteData();
|
|
||||||
|
|
||||||
/** Writes data to P-ROC.
|
/** Writes data to P-ROC.
|
||||||
* Returns #kPFailure if the number of words read does not match the number requested.
|
* Returns #kPFailure if the number of words read does not match the number requested.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user