PreviousNext
clearBufferRF
Help > OS functions > Buffers > clearBufferRF

Function

 

Clear bufferRF

Purpose

 

bufferRF clearing (filling with zeros)

Syntax

 

void clearBufferRF()

Parameters

 

  –

Return value

 

  –

Output values

 

     If memoryLimit == 0, complete bufferRF (64 B) is cleared.

     If memoryLimit <> 0, just the first memoryLimit bytes of bufferRF is cleared.

See Example E06–RAM.

Preconditions

 

The number of bytes to be cleared can be specified by memoryLimit (0 to 64).

Remarks

 

memoryLimit is automatically cleared after every clearBufferRF call.

Side effects

 

  –

See also

 

copyBufferRF2COM, copyBufferRF2INFO, copyBufferCOM2RF, copyBufferINFO2RF, compareBufferINFO2RF, copyMemoryBlock

Example 1

 

clearBufferRF();

Example 2

 

memoryLimit = 32;

clearBufferRF();    // Only the first half of bufferRF is cleared