Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
We use.
Pros:
- Easier and faster to write driver code, almost no need to deal with datasheets, shamanize with registers and their bits.
- Easier to port between platforms and families.
Cons:
- The code in CMSIS is often suboptimal with frills, "overloaded".
- As a result of the above, a lot of flash is wasted, RAM, execution speed is lower. If something like this needs to be done repeatedly in an interrupt, then it is better to write it "manually", and this eliminates the advantages of using CMSIS. And bugs are everywhere, until you find it yourself, no one will know.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question