暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pins.rs 432B

123456789101112131415161718
  1. #![warn(missing_docs)]
  2. /// Type which contains all GPIO pins.
  3. ///
  4. /// The pins are configured as the correct type. Whenever possible, the corresponding HAL driver is
  5. /// instantiated. The initial output state is set during configuration.
  6. pub struct Pins {
  7. // TODO
  8. }
  9. impl Pins {
  10. /// Configures the GPIO pins and sets their initial value.
  11. pub fn configure() -> Pins {
  12. Pins{
  13. // TODO
  14. }
  15. }
  16. }