beautypg.com

5 hardware multiplier peripheral registers, 14 .5 hardware multiplier peripheral registers -5, Table 14-2 . hardware multiplier registers -5 – Maxim Integrated MAX31782 User Manual

Page 120: 5hardwaremultiplierperipheralregisters, Table14-2.hardwaremultiplierregisters

background image

MaximIntegrated 14-5

MAX31782 User’s Guide

Revision 0; 8/11

Table14-2.HardwareMultiplierRegisters

14.5HardwareMultiplierPeripheralRegisters

The hardware multiplier registers are detailed in the following sections . Addresses of registers are given as “Mx[yy],”
where x is the module number (from 0 to 5 decimal) and yy is the register index (from 00h to 1Fh hexadecimal) .

REGISTER

ADDRESS

FUNCTION

MCNT

M5[00h]

Multiplier Control Register . Selects operation, data type, operand count, hardware square
function, and write option on the MC register . Also contains the overflow flag and the clear
control for operand registers and accumulator .

MA

M5[01h]

Multiplier Operand A Register . Used by the user software to load one of the 16-bit values for a
hardware multiplier operation .

MB

M5[02h]

Multiplier Operand B Register . Used by the user software to load one of the 16-bit values for a
hardware multiplier operation .

MC2

M5[03h]

Multiplier Accumulate Register 2 . Contains the two most significant bytes of the accumulator
register . The 48-bit accumulator is formed by MC2, MC1, and MC0 . The most significant bit of
this register is the signed bit for signed operations .

MC1

M5[04h]

Multiplier Accumulate Register 1 . Contains bytes 3 and 2 of the accumulator register . The 48-bit
accumulator is formed by MC2, MC1, and MC0 .

MC0

M5[05h]

Multiplier Accumulate Register 0 . Contains the two least significant bytes of the accumulator
register . The 48-bit accumulator is formed by MC2, MC1, and MC0 .

MC1R

M5[06h]

Multiplier Read Register 1 . Contains bytes 1 and 0 result from the last operation when MCW bit
is 1 or the last operation is either multiply-only or multiply-negate . The contents of this register
remain until an SFR related to the multiplier has been changed .

MC0R

M5[07h]

Multiplier Read Register 0 . Contains bytes 3 and 2 result from the last operation when MCW bit
is 1 or the last operation is either multiply-only or multiply-negate . The contents of this register
remain unchanged until an SFR related to the multiplier has been changed .