I have this line of C code from a real time clock (RTC) driver for a SoC chip from Nordic. I tried to look for what it does but it's a bit difficult to search. Can anyone please let me know what does it do? Especially the parentheses and asterisk.
#define NRF_RTC0 ((NRF_RTC_Type *) NRF_RTC0_BASE)
NRF_RTC_Type is a typedef of a struct and NRF_RTC0_BASE is #define'ed as 0x4000B000UL.
Thank you!