rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
2.01k stars 202 forks source link

bus: make constructors set CS high. #594

Closed Dirbaio closed 6 months ago

Dirbaio commented 6 months ago

This avoids a footgun where a HAL makes OutputPins low by default (or the user sets them to low and doesn't notice).

Discussed in today's WG meeting.