Documentation
¶
Overview ¶
Package rtcst implements a tickless system timer using the real time counter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
Setup setups st as system timer using ccn compare channel number. Usually rtc.RTC1 and channel number 0 is used. Setup accepts st at its reset state or configured before for other purposes. For its needs it uses only rtc.OVRFLW and rtc.COMPARE(ccn) events and can work with any prescaler set before (avoid prescaler values that cause tick period > 1 ms). Setup starts st by triggering rtc.START task but accepts RTC started before. It setups st.IRQ() priority in NVIC and enables IRQ handling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.