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.
|