I am currently working on enabling and transmitting/receiving data using TWIM on my nRF52810 development kit. The documentation states that in order to enable TWIM I need to provide a pointer to a structure containing the registers of the peripheral as seen below:

Unfortunately I am unsure how I can initialize this structure. Is there a function that returns an initialized NRF_TWIM_Type or do I need to manually create the structure myself. Thank you in advance and apologies if this is a dumb question