Initial InfiniSim project
This commit is contained in:
7
sim/nrfx/hal/nrf_rtc.h
Normal file
7
sim/nrfx/hal/nrf_rtc.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user