EasyManua.ls Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #46 background imageLoading...
Page #46 background image
2
2-9
32180 Group Users Manual (Rev.1.0)
CPU
2.6 Data Formats
2.6.2 Data Formats
(1) Data formats in registers
The data sizes in the M32R-FPU registers are always words (32 bits).
When loading byte (8-bit) or halfword (16-bit) data from memory into a register, the data is sign-extended
(LDB, LDH instructions) or zero-extended (LDUB, LDUH instructions) to a word (32-bit) quantity before
being loaded in the register.
When storing data from a register into a memory, the 32-bit data, the 16-bit data on the LSB side and the 8-
bit data on the LSB side of the register are stored into memory by the ST, STH and STB instructions,
respectively.
Figure 2.6.2 Data Formats in Registers
Rn
b0 b31
<Load>
Byte
Rn
b0 b31
Halfword
Rn
b0 b31
Word
Sign-extended (LDB instruction) or
zero-extended (LDUB instruction)
From memory
(LDB, LDUB instructions)
<Store>
Rn
b0 b31
Byte
Rn
b0 b31
Halfword
Rn
b0 b31
Word
To memory (STB instruction)
To memory (STH instruction)
To memory (ST instruction)
From memory (LDH, LDUH instructions)
From memory (LD instruction)
Sign-extended (LDH instruction) or
zero-extended (LDUH instruction)
24
16
24
16

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Summary

Before Use

Guide to Understanding the Register Table

Explains the conventions used in register tables, including bit numbering, register borders, status after reset, shaded bits, and read/write conditions.

CHAPTER 1 OVERVIEW

1.1 Outline of the 32180 Group

Provides an overview of the 32180 group, belonging to the M32R/ECU series of Mitsubishi microcomputers.

1.3 Pin Functions

Describes the functions of each pin on the 32180, including primary and alternative functions.

1.4 Pin Assignments

Provides the pin assignment diagram and table for the 240QFP package.

CHAPTER 4 EIT

4.2 EIT Events

Details the types of exceptions (RIE, AE, FPE), underflow, inexact, and zero division exceptions.

CHAPTER 5 INTERRUPT CONTROLLER (ICU)

5.2 ICU Related Registers

Shows a register map associated with the Interrupt Controller (ICU), including Interrupt Vector Register and Interrupt Request Mask Register.

CHAPTER 6 INTERNAL MEMORY

6.1 Outline of the Internal Memory

Details the types of memory contained within the 32180: 48-Kbyte RAM and 1-Mbyte flash memory.

6.5 Programming the Internal Flash Memory

Explains the methods for programming or erasing the internal flash memory, including boot mode and single-chip mode.

CHAPTER 7 RESET

7.1 Outline of Reset

Describes the microcomputer reset mechanism via the RESET# input pin and the execution from the reset vector entry.

7.2 Reset Operation

Details reset operations such as power-on reset, reset during operation, reset at entering RAM backup mode, and reset vector relocation during flash programming.

CHAPTER 8 INPUT/OUTPUT PORTS AND PIN FUNCTIONS

8.1 Outline of Input/Output Ports

Details the total number of input/output ports and their dual/triple function capabilities.

8.2 Selecting Pin Functions

Explains how pin functions are selected based on the current operation mode or by setting port operation mode registers.

8.3 Input/Output Port Related Registers

Lists the port data registers, port direction registers, and port operation mode registers.

CHAPTER 9 DMAC

9.2 DMAC Related Registers

Shows a memory map of the DMAC related registers, including channel control, source address, and destination address registers.

CHAPTER 10 MULTIJUNCTION TIMERS

10.1 Outline of Multijunction Timers

Introduces the multijunction timers (MJT), their input/output event buses, and the six types of MJT provided.

10.2 Common Units of Multijunction Timers

Details the common units within MJTs: Prescaler, Clock Bus, Input/Output Event Bus Control, Input Processing, Output Flip-flop, and Interrupt Control Units.

10.3 TOP (Output-Related 16-Bit Timer)

Describes the TOP timer, its specifications, modes of operation (single-shot, delayed, continuous), and interrupt generation.

CHAPTER 11 A-D CONVERTERS

11.2 A-D Converter Related Registers

Shows the A-D converter related register map, including single mode, scan mode, and data registers.

11.3 Functional Description of A-D Converters

Explains how to find analog input voltages, A-D conversion by successive approximation, comparator operation, and conversion time.

CHAPTER 12 SERIAL I/O

12.2 Serial I/O Related Registers

Shows the serial I/O related register map, including interrupt and buffer registers.

CHAPTER 13 CAN MODULE

13.2 CAN Module Related Registers

Provides the CAN module related register map, covering control, status, frame format, and mask registers.

CHAPTER 14 REAL TIME DEBUGGER (RTD)

14.1 Outline of the Real-Time Debugger (RTD)

Explains the RTD as a serial I/O for reading/writing internal RAM locations via external commands without stopping the CPU.

14.3 Functional Description of the RTD

Details RTD operations for commands like VER, VEI, RDR, WRR, and RCV.

CHAPTER 15 EXTERNAL BUS INTERFACE

15.2 External Bus Interface Related Registers

Shows the register map for the external bus interface, including port operation mode registers.

CHAPTER 16 WAIT CONTROLLER

16.2 Wait Controller Related Registers

Shows the Wait Controller related register map, including CS Area Wait Control Registers.

CHAPTER 17 RAM BACKUP MODE

17.1 Outline of RAM Backup Mode

Describes RAM backup mode where internal RAM contents are retained when power is off, used for power saving or when power is down.

CHAPTER 19 JTAG

CHAPTER 21 ELECTRICAL CHARACTERISTICS

21.1 Absolute Maximum Ratings

Lists the absolute maximum ratings for various parameters such as power supply, input/output voltage, and temperature.

APPENDIX 4 SUMMARY OF PRECAUTIONS

Appendix 4.4 Precautions To Be Observed when Programming Internal Flash Memory

Details precautions for programming/erasing internal flash memory, including voltage transitions and pin usage.

Related product manuals