diff options
| author | bigmagic <[email protected]> | 2020-03-19 18:31:55 +0800 |
|---|---|---|
| committer | bigmagic <[email protected]> | 2020-04-03 20:18:18 +0800 |
| commit | efbb5490d7799caf70e5bf76a1d0a8b02fcfb9e2 (patch) | |
| tree | 22e14215d32d6f42eeb93e94a6dec74ab32e2c49 /bsp/raspberry-pi | |
| parent | 0f57faa591b4eb9cf8ec88bb092855369a71d19a (diff) | |
add soc timer cntpct
Diffstat (limited to 'bsp/raspberry-pi')
| -rw-r--r-- | bsp/raspberry-pi/raspi3-64/driver/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/raspberry-pi/raspi3-64/driver/board.c b/bsp/raspberry-pi/raspi3-64/driver/board.c index 0305dda8d9..5d15dda987 100644 --- a/bsp/raspberry-pi/raspi3-64/driver/board.c +++ b/bsp/raspberry-pi/raspi3-64/driver/board.c @@ -25,6 +25,8 @@ static rt_uint64_t timerStep; int rt_hw_get_gtimer_frq(void); void rt_hw_set_gtimer_val(rt_uint64_t value); +int rt_hw_get_gtimer_val(void); +int rt_hw_get_cntpct_val(void); void rt_hw_gtimer_enable(void); void core0_timer_enable_interrupt_controller() |
