21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

External BusesMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER______ ______ ______device automatically outputs bank 7 (1, 1, 1) from the CS1, CS2, and CS3 pins each, no matter what banknumber has been set by the bank select bits. When accessing this same area for data, choose bank 7 bysetting the bank select bits first. For the area of bank 7 comprised of addresses C000016 through______ ______ ______FFFFF16, the device automatically outputs bank 7 (1, 1, 1) from the CS1, CS2, and CS3 pins each, foreither program fetch or data access.When accessing the area comprised of addresses 0400016 through 3FFFF16, for both program fetch and______ ______ ______data access, the device outputs the same chip select signal from the CS1, CS2, and CS3 pins each asoutput conventionally.Figure 5.3.5 shows the Data bank register.Data bank registerb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetDBR 000B16 0016Bit symbol Bit nameDescriptionNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.R WOFS Offset bit 0: Not offset1: OffsetBSRBank selection bitsb5 b4 b3b5 b4 b30 0 0: Bank 0 0 0 1: Bank 10 1 0: Bank 2 0 1 1: Bank 31 0 0: Bank 4 1 0 1: Bank 51 1 0: Bank 6 1 1 1: Bank 7Nothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.Figure 5.3.5. Data bank registerWhen alternately accessing areas across the bank boundary, you need to rewrite the bank select bitseach time. In this case, you can avoid this inconvenience by setting the Data bank register’s offset bit (bit2 at address 0000B16) to 1, because this allows you to access said areas without having to rewrite thebank select bits.516

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!