spi从机 Hal库 dma发送接收 intmain(void) { /*USERCODEBEGIN1*/ /*USERCODEEND1*/ /*MCUConfiguration--------------------------------------------------------*/ /*Resetofallperipherals,InitializestheFlashinterfaceandtheSystick.*/ HAL_Init(); /*USERCODEBEGINInit*/