# DC_WaitWriteBufferEmpty

## C Specification

      #include <nitro/os.h>

      void DC_WaitWriteBufferEmpty( void );

## Arguments

None.

## Return Values

None.

## Description

This function waits until the write buffer is empty. ARM9 can be stalled until the entire contents of the write buffer are written into memory. Because the contents of the write buffer are written before writing to a cache-disabled or buffer-disabled area, when writing to an I/O register after flushing a cache, etc., there is no need to explicitly wait for the write buffer to empty.

Note that when loading from an I/O register, the write buffer does not write.

## Internal Operation

Operates register 7 of the system control coprocessor.

## See Also

`DC_StoreAll
`

## Revision History

12/22/2003 Initial version.