[quote userid="626477" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1425468/tm4c1294ncpdt-tm4c1294-bit-bandig-single-bit-manipulation"]However following codes did not work. Could you specify my mistakes? *((volatile uint32_t *) 0x421C4FF84) = 1; *((volatile uint32_t *) 0x421C4FF84) = 0;[/quote] Why are you writing to 0x421C4FF84? The GPIOPinWrite() API already does the bit write. not read-modify-write. Why don't you look at the disassembly to see which address PF1 is mapped and written to. Also refer to the datasheet for bit write. See below.
↧