Discussion
A driver is to be ported from one microcontroller family to another. The work is least if the driver was written
Answer: D
Correct answer: against a hardware abstraction layer rather than raw registers
Writing against an abstraction layer confines the device-specific detail to the layer, so porting means providing the layer for the new part rather than rewriting the driver. Assembler, published register addresses and file-scope statics all tie the code to one part in ways the port must undo.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development