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

Changing the time unit of periodic timer API "R_SYS_TIME_RegisterPeriodicCallback()" #1

Open
ShunichiroNakamura opened this issue Sep 15, 2020 · 0 comments
Labels
enhancement New feature or request Wiki About Wiki page

Comments

@ShunichiroNakamura
Copy link

ShunichiroNakamura commented Sep 15, 2020

Detail

This issue requests to change 10 milliseconds time unit of "R_SYS_TIME_RegisterPeriodicCallback()" to 1 millisecond.
It also needs to chnge sample codes of the following Wiki page.
https://github.com/renesas/rx72n-envision-kit/wiki/1-SDHI-SD%E3%82%AB%E3%83%BC%E3%83%89%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90-%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0
R_CMT_CreatePeriodic(1000, (void (*) (void *)) R_SDC_SD_1msInterval, &cmt_channel);

Background

"R_SYS_TIME_RegisterPeriodicCallback()" is one of the system timer's API.
It registers callback-functions to be trigerred in periodic time of 10 milliseconds unit.
However, "R_SYS_TIME_RegisterPeriodicCallback()" cannot register such as the SD mode SD card driver FIT's API "R_SDC_SD_1msInterval()" that requests to be called in periodic "1 millisecond".

@ShunichiroNakamura ShunichiroNakamura added the enhancement New feature or request label Sep 15, 2020
@ShunichiroNakamura ShunichiroNakamura added the Wiki About Wiki page label Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Wiki About Wiki page
Projects
None yet
Development

No branches or pull requests

1 participant