Serial Line Protocol for Embedded Devices
First Claim
1. A method of processing, by a media controller, a command received from a host device coupled to the media controller by a communication link, the method comprising:
- generating, by a first interrupt generator, a first interrupt when the command is received;
providing the received command to a receive buffer;
transmitting an acknowledge signal to the host device;
if the received command includes a data transfer from the host device;
transferring data from the host device to the receive buffer;
processing, by a command processing module of the media controller, the received command including the transferred data, if present;
if the received command includes a data transfer to the host device;
receiving a data request from the host device;
providing, by the command processing module, data corresponding to the data request to the transmit buffer; and
generating, by a second interrupt generator, a second interrupt when the data corresponding to the data request in the transmit buffer is ready for transmission;
providing, by a datagram generator of the media controller, datagram data to the transmit buffer; and
interleaving, by the transmit buffer, transmission of i) the data corresponding to the data request and ii) the datagram data on the communication link.
9 Assignments
0 Petitions
Accused Products
Abstract
Described embodiments provide a transceiver for transferring data between a media controller and a host device through a communication link. The transceiver includes a first interrupt generator configured to i) generate a first interrupt when a command is received from the host device and ii) provide the received command to a receive buffer. A command processing module i) retrieves the received command from the receive buffer, ii) processes the received command, and iii) provides data request data in response to the received command to a transmit buffer. A datagram generator is configured to provide datagram data to the transmit buffer and a second interrupt generator is configured to generate a second interrupt when data in the transmit buffer is ready for transmission. The transmit buffer interleaves i) the data request data in response to the received command and ii) the datagram data, when provided to the communication link.
-
Citations
21 Claims
-
1. A method of processing, by a media controller, a command received from a host device coupled to the media controller by a communication link, the method comprising:
-
generating, by a first interrupt generator, a first interrupt when the command is received; providing the received command to a receive buffer; transmitting an acknowledge signal to the host device; if the received command includes a data transfer from the host device; transferring data from the host device to the receive buffer; processing, by a command processing module of the media controller, the received command including the transferred data, if present; if the received command includes a data transfer to the host device; receiving a data request from the host device; providing, by the command processing module, data corresponding to the data request to the transmit buffer; and generating, by a second interrupt generator, a second interrupt when the data corresponding to the data request in the transmit buffer is ready for transmission; providing, by a datagram generator of the media controller, datagram data to the transmit buffer; and interleaving, by the transmit buffer, transmission of i) the data corresponding to the data request and ii) the datagram data on the communication link. - View Dependent Claims (2, 3, 4, 5, 21)
-
-
6. A machine-readable storage medium, having encoded thereon program code, wherein, when the program code is executed by a machine, the machine implements a method of processing, by a media controller, a command received from a host device coupled to the media controller by a communication link, the method comprising:
-
generating, by a first interrupt generator, a first interrupt when the command is received; providing the received command to a receive buffer; transmitting an acknowledge signal to the host device; if the received command includes a data transfer from the host device; transferring data from the host device to the receive buffer; processing, by a command processing module of the media controller, the received command including the transferred data, if present; if the received command includes a data transfer to the host device; receiving a data request from the host device; providing, by the command processing module, data corresponding to the data request to the transmit buffer; and generating, by a second interrupt generator, a second interrupt when the data corresponding to the data request in the transmit buffer is ready for transmission; providing, by a datagram generator of the media controller, datagram data to the transmit buffer; and interleaving, by the transmit buffer, transmission of i) the data corresponding to the data request and ii) the datagram data on the communication link. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A transceiver for transferring data between a media controller and a host device through a communication link, the transceiver comprising:
-
a first interrupt generator configured to i) generate a first interrupt when a command is received from the host device and ii) provide the received command to a receive buffer; a command processing module configured to i) retrieve the received command from the receive buffer, ii) process the received command, and iii) provide data request data in response to the received command to a transmit buffer; a datagram generator configured to provide datagram data to the transmit buffer; a second interrupt generator configured to generate a second interrupt when data request data in the transmit buffer is ready for transmission; wherein the transmit buffer is further configured to interleave i) the data request data in response to the received command and ii) the datagram data, when provided to the communication link. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification