Writing device drivers you can actually test
Hardware bring-up is often delayed because firmware drivers are written directly against hardware registers.
Hardware Abstraction Layer (HAL) Patterns
By separating bus communication (I2C/SPI) behind function pointer interfaces, you can unit-test business logic and state transitions locally on Host x86 without target hardware attached.