class MbedSPI : public SPIClass { : private: SPISettings settings = SPISettings(0, MSBFIRST, SPI_MODE0); : where "0" is the bitrate. Presumably, at some point this is converted to the default SPI ...
static void send_packet_spi(unsigned char *data, int len); static void process_packet_spi(unsigned char *data, int len); static void send_packet_bldc_interface(unsigned char *data, int len); ...