I'm trying to make a project that requieres me to write a 32 bit value on some register. I've been looking around some projects that use register 0x42000000, wich uses a C code for writing on it.
They used a ' *((uint32_t *)(reg))=value ' command to write on it. I took this and used it, but, it appears to be only writing the first 8 LSB on the register, if I send a value higher than 255, the register remains on 0
Is there any other way to write registers that allows to write values longer than 8 bits?
Applications, development tools, FPGA, C, WEB
1 post • Page 1 of 1
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 7 guests