The hard RAK831 cafe part 2

hi BoRRoz. I use STM32 to connect RAK831. I want to know what did raspberry pi write/read into the address of RAk831 but I don’t know about SPI of Pi so some line in code I don’t clear.