Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218086

Forum Post: RE: TM4C1294NCPDT: TM4C1294 Bit Bandig Single Bit Manipulation

$
0
0
[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.

Viewing all articles
Browse latest Browse all 218086

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>