Skip to content
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

Add support for setting and reading timer #8

Merged
merged 5 commits into from
Jun 9, 2020
Merged

Add support for setting and reading timer #8

merged 5 commits into from
Jun 9, 2020

Commits on Jun 9, 2020

  1. Add ioctl command for reading and writing BM8563_TIMER_CONTROL

    uint8_t tmp = BM8563_TIMER_ENABLE | BM8563_TIMER_1HZ;
    bm8563_ioctl(&bm, BM8563_TIMER_CONTROL_WRITE, &tmp);
    tuupola committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    ff61da9 View commit details
    Browse the repository at this point in the history
  2. Add ioctl command for reading and writing BM8563_TIMER

    uint8_t count = 10;
    uint8_t register = BM8563_TIMER_ENABLE | BM8563_TIMER_1HZ;
    
    bm8563_ioctl(&bm, BM8563_TIMER_WRITE, &count);
    bm8563_ioctl(&bm, BM8563_TIMER_CONTROL_WRITE, &register);
    tuupola committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    c460bec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6945223 View commit details
    Browse the repository at this point in the history
  4. Document changes

    tuupola committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    dc9ede8 View commit details
    Browse the repository at this point in the history
  5. Fix variable name in example

    tuupola committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    b8e4c69 View commit details
    Browse the repository at this point in the history