Given a 16-bit SPI frame supplied as a decimal integer, split it into its three packed fields - a 4-bit command in the top nibble (bits 15-12), an 8-bit address in the middle (bits 11-4), and a 4-bit data value in the bottom nibble (bits 3-0) - and print all three.
244 problems. 216 MCQs. Practice by topic or by role — both included in one purchase.
Write C. Run code. Check the output.
124 problems
Practise commands in a Linux terminal.
80 problems
Practise tasks and scheduling in C.
40 problems
Check your fundamentals. Review explanations.
216 questions
₹399 ₹699
12 months · One-time payment
No automatic renewal.
Get Embedded Lab access →Free account required · No time limit
Courses, projects and Interview Prep are separate purchases.