MSP430 Register Chinese Notes --- Hardware Multiplier

Publisher:annye_chengLatest update time:2015-01-23 Source: laoguKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

/****************************************************************
             Register definition of hardware multiplier
************************************************************/

#define MPY_ 0x0130 /* Unsigned multiplication*/
sfrw MPY = MPY_;
#define MPYS_ 0x0132 /* Signed multiplication*/
sfrw MPYS = MPYS_;
#define MAC_ 0x0134 /* Unsigned multiplication and accumulation*/
sfrw MAC = MAC_;
#define MACS_ 0x0136 /* Signed multiplication and accumulation*/
sfrw MACS = MACS_;
#define OP2_ 0x0138 /* Second multiplier*/
sfrw OP2 = OP2_;
#define RESLO_ 0x013A /* Lower 6-bit result register*/
sfrw RESLO = RESLO_;
#define RESHI_ 0x013C /* Upper 6-bit result register*/
sfrw RESHI = RESHI_;
#define SUMEXT_ 0x013E /* Result extension register */
const sfrw SUMEXT = SUMEXT_;

Keywords:MSP430 Reference address:MSP430 Register Chinese Notes --- Hardware Multiplier

Previous article:MSP430 Register Chinese Notes---Watchdog and Timer
Next article:MSP430 register Chinese annotations --- P1/2 port (with interrupt function)

Recommended ReadingLatest update time:2024-11-16 19:49

Msp430f149 microcontroller controls stepper motor C language program
#include    typedef    unsigned int  uint;   typedef   unsigned char uchar;    #define   PWM   BIT2    void int_clk()    {        flying i;        BCSCTL1&=~XT2OFF; //Turn on XT oscillator        BCSCTL2|=SELM1+SELS;//MCLK 8M and SMCLK 1M          do        {            IFG1 &= ~OFIFG; // Clear th
[Microcontroller]
Design of wireless access control system based on MSP430
    introduction   As people's living standards continue to improve, the issue of home anti-theft has become particularly prominent. Traditional mechanical locks have been gradually eliminated due to their simple structure and poor safety. Electromagnetic locks have gradually entered thousands of households due to th
[Security Electronics]
Design of wireless access control system based on MSP430
AD conversion of MSP430 microcontroller
The ADC12 module is composed of the following parts: 16-channel analog input switches (8 external and 4 internal), ADC internal voltage reference source, ADC12 core, ADC clock source part, acquisition and hold/trigger source part, ADC data output part, ADC control register, etc.   Four sampling modes: (1) Single-chann
[Microcontroller]
AD conversion of MSP430 microcontroller
Design of Chinese human-machine interface based on microcontroller with low power consumption
In modern portable intelligent instruments or handheld devices, Chinese human-machine interface has become a de facto industry standard. Graphic dot matrix LCD that can display Chinese characters and small keyboard that can input numbers have become an indispensable part of intelligent devices. At the same time, the
[Microcontroller]
Design of Chinese human-machine interface based on microcontroller with low power consumption
MSP430G2253 generates PWM with adjustable duty cycle
I recently made a code to drive a white LED with 430. It used the common peripherals such as ADC and PWA that I used before. I found that my understanding of the chip is still too basic. Now I will review it so that I can have a reference when I use it in the future. Today I will only learn the most basic functions to
[Microcontroller]
ADC7864 touch program function based on MSP430F249
This example is written by me referring to the example of 51 single chip microcomputer. After testing, it can read data normally without converting it into coordinates. The interrupt method is used, and the falling edge triggers   //File name: tourch_screen.h //Touch screen program based on ADS7846 //Macro def
[Microcontroller]
Design of handheld monitoring equipment for satellite communication vehicle-mounted station based on MSP430
introduction The vehicle-mounted satellite communication earth station is a satellite communication station installed on a car. It uses the rapid mobility of the car to quickly reach the scene of the incident and form a high-speed information channel to meet the needs of real-time communication. In order to e
[Microcontroller]
The use and discussion of temperature conversion calculation of MSP430F1611 temperature sensor
I spent a day to carefully study the programming and use of the registers of the AD temperature sensor of MSP430F1611. At 1 o'clock in the evening, I wrote and modified N programs and found that the accuracy of the AD temperature sensor was too low. The difference was too far. And the algorithm after getting the value
[Microcontroller]
The use and discussion of temperature conversion calculation of MSP430F1611 temperature sensor
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号