SAME70 GPIO latency
Jiří Kubias <jiri.kubias@...>
Hi, I measuring the time via oscilloscope - then the time measurement is independent on zephyr time. The printk is just for info. Best regards, Jiri Kubias 2018-08-09 20:31 GMT+02:00 punit vara <punitvara@...>:
--
===================================================
Ing. Jiri Kubias e-mail: jiri.kubias@... mobile: 775 593 956 =================================================== |
|
punit vara <punitvara@...>
Hi Jiri, Welcome to awesome zephyr community. On Thu, Aug 9, 2018 at 11:46 PM Jiří Kubias <jiri.kubias@...> wrote:
k_cycle_get_32() prints cycles. Use k_uptime_get(). Follow this to measure time : http://docs.zephyrproject.org/kernel/timing/clocks.html
- PV
|
|
Jiří Kubias <jiri.kubias@...>
Hi, void button_pressed(struct device *gpiob, struct gpio_callback *cb, u32_t pins) |
|