M30845FJGP#U3 Renesas Electronics America, M30845FJGP#U3 Datasheet - Page 43
Manufacturer Part Number
IC M32C MCU FLASH 512K 144LQFP
Renesas Electronics America
Specifications of M30845FJGP#U3
CAN, I²C, IEBus, SIO, UART/USART
DMA, PWM, WDT
Number Of I /o
Program Memory Size
512KB (512K x 8)
Program Memory Type
24K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
A/D 34x10b, D/A 2x8b
-40°C ~ 85°C
Package / Case
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.1 General Registers
2.1.1 Data Registers (R0, R1, R2 and R3)
2.1.2 Address Registers (A0 and A1)
2.1.3 Static Base Register (SB)
2.1.4 Frame Base Register (FB)
2.1.5 Program Counter (PC)
2.1.6 Interrupt Table Register (INTB)
2.1.7 User Stack Pointer (USP), Interrupt Stack Pointer (ISP)
2.1.8 Flag Register (FLG)
R0, R1, R2 and R3 are 16-bit registers for transfer, arithmetic and logic operations. R0 and R1 can be
split into high-order bits (R0H) and low-order bits (R0L) to be used separately as 8-bit data registers.
R0 can be combined with R2 to be used as a 32-bit data register (R2R0). The same applies to R1 and
A0 and A1 are 24-bit registers for A0-/A1-indirect addressing, A0-/A1-relative addressing, transfer, arith-
metic and logic operations.
SB is a 24-bit register for SB-relative addressing.
FB is a 24-bit register for FB-relative addressing.
PC, 24 bits wide, indicates the address of an instruction to be executed.
INTB is a 24-bit register indicating the starting address of an relocatable interrupt vector table.
The stack pointers (SP), USP and ISP, are 24 bits wide each. The U flag is used to switch between USP
and ISP. Refer to 2.1.8 Flag Register (FLG) for details on the U flag. Set USP and ISP to even
addresses to execute an interrupt sequence efficiently.
FLG is a 16-bit register indicating a CPU state.
188.8.131.52 Carry Flag (C)
184.108.40.206 Debug Flag (D)
220.127.116.11 Zero Flag (Z)
18.104.22.168 Sign Flag (S)
The C flag indicates whether carry or borrow has occurred after executing an instruction.
The D flag is for debug only. Set to "0".
The Z flag is set to "1" when the value of zero is obtained from an arithmetic operation; otherwise "0".
The S flag is set to "1" when a negative value is obtained from an arithmetic operation; otherwise "0".
2. Central Processing Unit (CPU)