TIMER
Update time:2018-04-16 Views:2104
Introduction
Timer is a programmable timer peripheral. This component is an APB slave device. In RK3399 there are 12 Timers(timer0~timer11), 12 Secure Timers(stimer0~stimer11) in ALIVE and 2 Timers(pmutimer0~pmutimer1) in PMU. We use the Timers(timer0-timer11) clock is 24MHZ and Timer mode selection have free-running and user-defined count
Timer Usage Flow
Timer mode selection
User-defined count mode :Timer loads TIMERn_LOAD_COUNT3 and TIMERn_ LOAD_COUNT2 as initial value. When the timer counts up to the value in TIMERn_LOAD_COUNT1 and TIMERn_LOAD_COUNT0, it will not automatically reload the count register. User need to disable timer firstly and follow the programming sequen