Embedded C
23 practice items · needed by 1 role
Easy 10Medium 7Hard 6
Practice questions
- Why use volatileeasy
- Setting a register biteasy
- Reading a hex register valueeasy
- Adding to a uint8_t countereasy
- Where const goes in a pointereasy
- A static local countereasy
- Why a cross-compilereasy
- Keeping a table out of RAMeasy
- Integer division resultseasy
- A macro without parentheseseasy
- Size of a structmedium
- Adding two uint8_t valuesmedium
- Comparing int with unsignedmedium
- Bit-fields for hardware registersmedium
- sizeof on an array parametermedium
- Ring buffer index with a maskmedium
- Multiplying Q15 numbersmedium
- Reading a 32-bit fieldhard
- Works at -O0, fails at -O2hard
- An overflow check that vanisheshard
- Reading a float from a packethard
- Slow maths on a Cortex-M4Fhard
- Inverting a uint8_thard