ATMega4809 i2c register not defined

Hi All,

Am rather new to Arduinos etc., so please be patient. :smiley:

I'm trying to achieve the equivalent of:

TWBR = 12;

On an arduino uno wifi rev2 with an atmega 4809 chipset. From the datasheet, I gather I should be doing

TWIn.MBAUD = 12;

However, I get the following error:
'TWIn' was not declared in this scope

When I try and compile the sketch.
Any ideas?

Replace n with the number of the TWI interface: TWI0.

oqibidipo:
Replace n with the number of the TWI interface: TWI0.

Dear lord, is it that simple?
The other registers are written in the datasheet as PORTx.OUT for example, so I assumed n didn't represent the interface number.

I will try this when I get home tonight.