SerCx2SystemDmaReceiveNewDataNotification function (sercx.h)
The SerCx2SystemDmaReceiveNewDataNotification method notifies version 2 of the serial framework extension (SerCx2) that data is available to be read from the receive FIFO in the serial controller hardware.
Syntax
void SerCx2SystemDmaReceiveNewDataNotification(
[in] SERCX2SYSTEMDMARECEIVE SystemDmaReceive
);
Parameters
[in] SystemDmaReceive
A SERCX2SYSTEMDMARECEIVE handle to a system-DMA-receive object. The serial controller driver previously called the SerCx2SystemDmaReceiveCreate method to create this object.
Return value
None
Remarks
If the receive FIFO in the serial controller becomes empty before a system-DMA-receive transaction can be completed, SerCx2 calls the EvtSerCx2SystemDmaReceiveEnableNewDataNotification event callback function, if it is implemented, to enable SerCx2 to receive a new-data notification when data is again available to be read from the receive FIFO.
If the new-data notification is enabled, the serial controller driver must call SerCx2SystemDmaReceiveNewDataNotification to notify SerCx2 after the serial controller receives new data. A notification occurs when the driver detects that one or more new bytes of received data either are ready to be transferred or have already been transferred by the system DMA controller.
The serial controller must call SerCx2SystemDmaReceiveNewDataNotification only in response to a call to the EvtSerCx2SystemDmaReceiveEnableNewDataNotification function.
If a serial controller driver supports new-data notifications for system-DMA-receive transactions, SerCx uses these notifications to detect interval time-outs during the handling of read (IRP_MJ_READ) requests. For more information about interval time-outs, see SERIAL_TIMEOUTS. For more information about new-data notifications, see SerCx2 System-DMA-Receive Transactions.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8.1. |
Target Platform | Universal |
Header | sercx.h |
IRQL | <= DISPATCH_LEVEL |