I need to capture and decode an infrared signal (with NEC infrared protocol) using a GPIO pin on a Xilinx FPGA and show the content of the signal on the console. I receive the signal on the address
XPAR_GPIO_IR_BASEADDR // 0x40040000
How can I take the contents of that register and put it into another varable that will then be used to decode the signal? u32 packet
The goal of this part is to take the value received from the IR and then insert it into the packet variable as shown above. The variable will then be used for other operations.