G120 SDK Pre release 2016-1
Setting a value of a register class writes a word while i would expect that only the byte at the given register class address would be effected.
Is this by design?
OutputPort justAPort = new OutputPort(G120.P2_0, true);
Register _fio1Clr3 = new Register(0x2009803F); // Fast clear port 1, bit 24-31
fio1Clr3.Value = 0xFF; // this also effects address 0x20098040 which related to the Fast GPIO Port Direction control register of port 2
// a possible solution is to use the setbits method… but just wondering if the above is a bug or not.
_fio1Clr3.SetBits(0x..);