beautypg.com

Rainbow Electronics W90N740 User Manual

Page 68

background image

W90N740

- 64 -

7.4.5 Write

Buffer

The W90N740 provides a write buffer to improve system performance. The write buffer can buffer up to
eight words of data. The write buffer may be enabled or be disabled via the WRBEN bit in the CAHCNF
register, and the buffer is disabled and flushed on reset.

Drain write buffer

To force data, which is in write buffer, to be written to external main memory. This operation is useful in
real time applications where the processor needs to be sure that a write to a peripheral has completed
before program execution continues.

To perform this command, you can set the DRWB and DCAH bits in CAHCON register.

Cache Control Registers Map

Register Address R/W

Description

Reset

Value

CAHCNF 0xFFF0.2000 R/W Cache

configuration register

0x0000.0000

CAHCON 0xFFF0.2004 R/W Cache

control register

0x0000.0000

CAHADR 0xFFF0.2008 R/W Cache

address register

0x0000.0000

CTEST0

0xFFF6.0000

R/W Cache test register 0

0x0000.0000

CTEST1

0xFFF6.0004

R

Cache test register 1

0x0000.0000