New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document GPIO #104

Merged
merged 1 commit into from Jul 15, 2014

Conversation

Projects
None yet
3 participants
@errordeveloper
Member

errordeveloper commented Jul 15, 2014

No description provided.

@@ -26,8 +27,12 @@ pub enum GPIOLevel {
}
pub trait GPIO {
/// Set to logic high
fn set_high(&self);

This comment has been minimized.

@farcaller

farcaller Jul 15, 2014

Member

Please keep one blank line between function headers.

This comment has been minimized.

@errordeveloper

errordeveloper Jul 15, 2014

Member

You mean:

/// General Purpose I/O
pub trait GPIO {
  /// Set to logic high
  fn set_high(&self);

  /// Set to logic low
  fn set_low(&self);

  /// Read current logic level
  fn level(&self) -> GPIOLevel;

  /// Set directio to `Low` or `High`
  fn set_direction(&self, new_mode: GPIODirection);
}

This comment has been minimized.

@errordeveloper

errordeveloper Jul 15, 2014

Member

done that...

@farcaller

This comment has been minimized.

farcaller commented on 4b6cbd1 Jul 15, 2014

r+

@hacknbot

This comment has been minimized.

Contributor

hacknbot commented on 4b6cbd1 Jul 15, 2014

saw approval from farcaller
at errordeveloper@4b6cbd1

This comment has been minimized.

Contributor

hacknbot replied Jul 15, 2014

merging errordeveloper/zinc/gpio_docs = 4b6cbd1 into auto

This comment has been minimized.

Contributor

hacknbot replied Jul 15, 2014

errordeveloper/zinc/gpio_docs = 4b6cbd1 merged ok, testing candidate = 80729aa

This comment has been minimized.

Contributor

hacknbot replied Jul 15, 2014

This comment has been minimized.

Contributor

hacknbot replied Jul 15, 2014

fast-forwarding master to auto = 80729aa

hacknbot added a commit that referenced this pull request Jul 15, 2014

Merge pull request #104 from errordeveloper/gpio_docs
Document GPIO

Reviewed-by: farcaller

@errordeveloper errordeveloper referenced this pull request Jul 15, 2014

Closed

Set 'missing doc attribute' to deny for zinc.rs #82

0 of 6 tasks complete

@hacknbot hacknbot merged commit 4b6cbd1 into hackndev:master Jul 15, 2014

2 checks passed

continuous-integration/travis-ci The Travis CI build passed
Details
default all tests passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment