Is HAL driver Require more space compared to LL?
i want to know which drivers require less space(small HEX FILE) and good optimization HAL or LL driver?
i want to know which drivers require less space(small HEX FILE) and good optimization HAL or LL driver?
Yes, HAL takes much more code space and is terribly buggy and ineffective. And LL is useless, because it is just a register/bit redefinition and doubles the amount of information one has to learn. Using it one has to look at LL code and translate LL function names to register/bit names back and forth all the time to find them in reference manual. LL is not so terrible, but it's not very effective either, because mostly every bit is set with a separate RMW (read-modify-write) operation, while with direct register access it can be done with a single RMW in a single C code line.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.