Download User`s Manual
Transcript
Chapter 5 Register Reference in MEM Mode 5.19 Mail Receive 1 Control Register (MR1CR) Address 32-bit address: 490H (big & little) 16-bit address: 492H (big) Bit: 490H (little) 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- --- SRC5 SRC4 SRC3 SRC2 SRC1 SRC0 RCV RDY SZ5 SZ4 SZ3 SZ2 SZ1 SZ0 Initial value: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W: R R R R R R R R R/W R/W R R R R R R [Functional description] This register controls the mail reception corresponding to the MRB1 (Mail Receive Buffer 1). z Bit description receive SiZe (SZ0 to SZ5) bit (bits 0 to 5) [Function] These are bits where the dataset size (hexadecimal) of the received mail is set when the MRB1 receives mail. The dataset size uses 8 bytes as one unit. receive ReaDY (RDY) bit (bit 6) [Function] This bit sets permission for the MRB1 (Mail Receive Buffer 1) to receive mail. This bit can be operated when the RUN bit of the SCR is “1”. When “1” is written to this bit, the MRB1 is permitted to receive mail. When this bit is “0”, the MRB1 is inhibited from receiving mail. This bit value cannot be set from “1” to “0” during mail reception by the MRB1. Therefore, when “0” is written, read this bit to check its status. When “1” is written to this bit, the RCV bit is forcibly set to “0”. If the RUN bit of the SCR changes to “0” when this bit is “1”, this bit also changes to “0”. ReCeiVed (RCV) bit (bit 7) [Function] This bit indicates the completion of mail reception. This bit changes to “1” at completion of mail reception. The RDY bit (bit 6) changes to “0” when this bit goes to “1”. When “1” is written to the RDY bit, this bit is set to “0”. This bit can be forcibly set to “0” by writing “0” directly to it instead of writing “1” to the RDY bit. If the RUN bit of the SCR changes to “0” when this bit is “1”, this bit also changes to “0”. SouRCe station address (SRC0 to SRC5) bit (bits 8 to 13) [Function] The source station addresses (hexadecimal) are set to these bits when dataset is stored in the MRB1 (Mail Receive Buffer 1). 5 - 23