7e02a0379f
The counter_native_posix driver currently does not support top value configuration, i.e. `ctr_set_top_value` returns `-ENOTSUP`. This commit adds support for top value configuration, and with the counter API now fully implemented, adds `counter` to `supported` peripherals for native_posix target. It also resolves an existing bug in which the counter ISR did not reset upon reaching `TOP_VALUE`. And adds support for multiple channels Signed-off-by: Jason Wright <jason@jpw.nyc> Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no> |
||
---|---|---|
.. | ||
doc | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.board | ||
Kconfig.defconfig | ||
board.cmake | ||
board_irq.h | ||
board_soc.h | ||
cmdline.c | ||
cmdline.h | ||
cmdline_common.h | ||
cpu_wait.c | ||
irq_handler.c | ||
irq_handler.h | ||
misc.c | ||
native_posix_compat.h | ||
native_sim.dts | ||
native_sim.yaml | ||
native_sim_64.dts | ||
native_sim_64.yaml | ||
native_sim_64_defconfig | ||
native_sim_defconfig | ||
nsi_if.c | ||
posix_arch_if.c | ||
timer_model.h |