SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The following PRU firmware examples demonstrate the shift functionality. Note: These assume the XFR_SHIFT_EN bit of the ICSSG_SPP_REG register of the PRU_ICSSG CFG register space has been set.
XOUT Shift By 4 Registers
Store R4:R7 to R8:R11 in Bank0:
XOUT Shift By 9 Registers, With Wrap Around
Store R25:R29 to R4:R9 in Bank1:
XIN Shift By 10 Registers
Load R14:R16 from Bank2 to R4:R6: