1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Made FlushWriteData public.

This commit is contained in:
gstellenberg
2009-05-29 12:14:51 -05:00
parent a8f8e17824
commit 528d3b4842

View File

@@ -53,6 +53,8 @@ public:
// public libpinproc API:
int GetEvents(PREvent *events, int maxEvents);
PRResult FlushWriteData();
PRResult DriverUpdateGlobalConfig(PRDriverGlobalConfig *driverGlobalConfig);
PRResult DriverGetGroupConfig(uint8_t groupNum, PRDriverGroupConfig *driverGroupConfig);
PRResult DriverUpdateGroupConfig(PRDriverGroupConfig *driverGroupConfig);
@@ -82,9 +84,6 @@ protected:
/** Schedules data to be written to the P-ROC. */
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.
* Returns #kPFailure if the number of words read does not match the number requested.
*/