CONFIG MICROWIRE

Top  Previous  Next

Action

Configures the micro wire pins.

 

 

Syntax

Config Microwire = Pin , Cs = P1.1 , Din = P1.2 , Dout = P1.4 , Clock = P1.5 , Al = 7

 

 

Remarks

CS

Chip select

DIN

Data input

DOUT

Data output

CLOCK

Pin that generates the Clock

AL

Address lines. See table below.

It depends if you work with bytes or words. In our example we will use the 93C46 and work with bytes. AL will be 7 in this case.

 

 

Chip

93C46

93C56

93C57

93C66

Data bits

8

16

8

16

8

16

8

16

AL

7

6

9

8

8

7

9

8

 

 

See also

MWINIT , MWWOPCODE , MWWRITE , MWREAD

 

 

Example

NONE