Skip to content

https://github.com/zephyrproject-rtos/zephyr/blob/main/include/drivers/counter.h #40350

@SadanandPenore-eaton

Description

@SadanandPenore-eaton

https://github.com/zephyrproject-rtos/zephyr/blob/main/include/drivers/counter.h

Originally posted by @carlescufi in #40247 (comment)

Thank you for prompt response.

I tried using the counter example which uses RTC as clock source.
So I cannot change the resolution below 1 second.
I need timer interval in the order of few milliseconds to 100 micro seconds.
So that is not suitable. ( Please confirm )
I tried using 'timers1' but it is giving below error:
"C:/xxxxx/.platformio/packages/framework-zephyr/include/devicetree.h:303:40: error: 'DT_N_INST_0_timers1_P_label' was not declared in this scope"
The timers1 device is already define in dts file and status is marked as okay.

Is this error because the timer hal is not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions