资源摘要:RM3100原厂驱动包,包含PCB封装,BSP驱动源文件,支持SPI和IIC,最近项目需要用,个人花钱买的相关资料。void SPI2_Init(void){ GPIO_InitTypeDef GPIO_InitStructure; SPI_InitTypeDef SPI_InitStructure;RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE );//PORTBʱ��ʹ�� RCC_APB1PeriphClockCmd(RCC_APB1Periph_SPI2, ENABLE );//SPI2ʱ��ʹ�� GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15;GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //PB13/14/15����������� GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz