ChibiOS-Contrib/os/common/ext/SONiX/SN32F2xx
dexter93 99bd79f7c9 Centralize clocks handling for sn32f2xx (#38)
* sn32: 2xx: centralize peripheral clock functions

* sn32: export HCLK for all boards

* sn32: support tickless mode for systick

* sn32: CT: cleanup inclusions

* Revert "sn32: export HCLK for all boards"

This reverts commit 1cae8892e3ce908ef89774a7e83bb921ecd810fc.

* sn32: export HCLK in hal level

* ST: inherit the SN32_HCLK

* 2xx lld: include ct header

* ST: fix systime type

* ST: interrupt should be disabled on init

* st: cleanup

* debug it

* Revert "debug it"

This reverts commit 1dd78e81019aa1233f3402ed251428085470ab79.

* sn32f2xx: make sure clocks match and proper timer init

* add more checks

* always read 32 bits from the counter

* read the first 16 bits directly

* systime_t is 16bits, but MR0 lives in a 32bit register

* testing: use ILRC

* testing: hack

* Revert "testing: hack"

This reverts commit 3821173dd9a6180e3f91a3e81e73e9f92385e273.

* Revert "testing: use ILRC"
we can't do this because hardware limits
This reverts commit 19d3ffefbce8cdd5cd34859cd8befccda6353e58.

* fix assert

* test: hardcode it

* Revert "test: hardcode it"

This reverts commit a75777c44d12844eb0be44c650a1de1602cadaed.
2022-02-12 13:54:53 +02:00
..
SN32F2xx.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F200_Def.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F240.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F240B.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F260.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F260_defines.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F280.h SN32 port updates 2022-02-12 13:51:12 +02:00
SN32F290.h SN32 port updates 2022-02-12 13:51:12 +02:00
system_SN32F2xx.h SN32 port updates 2022-02-12 13:51:12 +02:00
system_SN32F240.c sn32: allow mcuconf to override system 2022-02-12 13:51:12 +02:00
system_SN32F240B.c Centralize clocks handling for sn32f2xx (#38) 2022-02-12 13:54:53 +02:00
system_SN32F260.c Centralize clocks handling for sn32f2xx (#38) 2022-02-12 13:54:53 +02:00
system_SN32F280.c sn32: allow mcuconf to override system 2022-02-12 13:51:12 +02:00
system_SN32F290.c sn32: allow mcuconf to override system 2022-02-12 13:51:12 +02:00