Timer controller Peripheral Driver. More...
CoX TIMER Peripheral Interface.
Timer controller Peripheral Driver.
Timer controller allows user to implement a timer control for application easily. The timer can perform functions like frequency measurement, event counting, interval measurement, clock generation, delay timing, and so on. The timer can generate an interrupt signal upon timeout, or provide the current value during operation.
Users can select the Internal clock source as the timer clock source, and start the timer with diffierent mode, such as one shot mode, periodic mode. when the timer's count value reaches the compared value, its corresponding interrupt flag will be set.
Timer can be configured to count the event signal which is selected as rising or falling edge form the corresponding pin.
Timer's Pulse width modulation can be used to output an 0 ~ 100% duty ratio.
Timer also can be used to make a accurate delay for the application.