1410 views|0 replies

3836

Posts

19

Resources
The OP
 

MSP430F5529 library functions [Copy link]

The MSP430F5529 library function I wrote during college took me almost a year to write, from the initial 1.0 version to the final 2.+ version, and finally I had a library function that satisfied me.

MSP430 is a mid-to-low-end microcontroller, so many people think it does not need library functions and choose to use handwritten code for development. However, the author does not think so. After the library functions are completed, the speed of development using this microcontroller is many times faster than before. Of course, one reason that cannot be ignored is that I am more familiar with this microcontroller.

The library functions include almost all peripheral modules on the microcontroller. In addition, the author also provides driver libraries for commonly used modules such as OLED, LCD, LED, KEY, NRF24L01, etc.

Unfortunately, the author does not have the energy to write a user manual. He only gives some examples of the use of common peripherals. From these examples, you can see the convenience of using library functions. Some beginners may not be familiar with the library functions themselves and may have difficulties in using them. The author recommends that you first refer to the library function manual of Shanwai.

In the process of developing the library function, the author used a lot of rarely used knowledge points in C language, such as bit fields, variable parameters, macro definitions, etc., making the library function very flexible to use. In the process of developing this library function, the author has a deeper understanding of C language and microcontrollers, which should be the biggest gain.

This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list