Patent ID: 7979599

Claim:
A method of allocation of a buffer memory with three buffers of a module having a processing unit and a bus connection, comprising: sending or receiving data by the module via the bus connection; generating and processing data for transmission via the bus connection by the module using the processing unit, wherein the bus connection and the processing unit function as producer or consumer in a communication relationship established via the buffer memory; using by each buffer one of four statutes “input area local”, “local”, “input area external” and “external”, wherein the statutes “input area local” and “local” are used by the processing unit, and wherein the statutes “input area external” and “external” are used by the bus connection; and allocating one of the three buffers by the bus connection or the processing unit, wherein, when one of the three buffers is already allocated, the already allocated buffer is used, otherwise, one of the buffers with the status “input area external” or “input area local” is used and the status “external” or “local” is assigned.