Control peripherals (nRF52840 and Zephyr)

Hi,

I am a novice in the Nordic world. I have to say it is really new conception for me. I am used to work with STM32 and freeRTOS.

If I understand corectly, when I want to control any of peripherals (like  TIMER, SPI, UART,..)  it is controlled via Zephyr API? E.g. in product spec. of nRF52840 are registers called like some tasks?    It means all peripherals are like some software tasks, or just only "unusal" name of registers is confusing me and still it is "normal" hardware peripherals?

When I want to work with e.g. hardware timer, should I go there: https://docs.zephyrproject.org/3.1.0/hardware/peripherals/counter.html and use these API? Is that what I need, or it is not best practice?

Thank you for now.

Parents Reply Children
No Data
Related