InfiniSim/sim/nrfx/hal/nrf_rtc.h

8 lines
237 B
C
Raw Normal View History

2022-02-16 20:42:29 +00:00
#pragma once
#include "portmacro_cmsis.h"
// normal version has pointer to register 'NRF_RTC_Type * p_reg', but we just simulate
// the return value according to known register pointer
uint32_t nrf_rtc_counter_get(NRF_RTC_Type p_reg);