From 400ca2d035d7bdb85c077a53b2cd85cdd04882ab Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 8 Apr 2020 11:04:31 +1000 Subject: spi_master for AVR (#8299) * Change _delay_ms/us() to wait_ms/us() * Switch to platform-agnostic GPIO macros * Add AVR spi_master and migrate Adafruit BLE code * Set verbose back to false * Add clock divisor, bit order and SPI mode configuration for init * Add start and stop functions * Move configuration of mode, endianness and speed to `spi_start()` * Some breaks here would be good * Default Adafruit BLE clock divisor to 4 (2MHz on the Feather 32U4) * Remove mode and divisor enums * Add some docs * No hr at EOF * Add links in sidebar --- docs/zh-cn/_summary.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/zh-cn') diff --git a/docs/zh-cn/_summary.md b/docs/zh-cn/_summary.md index 12bd07a21d..201b83894d 100644 --- a/docs/zh-cn/_summary.md +++ b/docs/zh-cn/_summary.md @@ -104,6 +104,7 @@ * [ARM调试指南](zh-cn/arm_debugging.md) * [ADC设备](zh-cn/adc_driver.md) * [I2C设备](zh-cn/i2c_driver.md) + * [SPI设备](zh-cn/spi_driver.md) * [WS2812设备](zh-cn/ws2812_driver.md) * [EEPROM设备](zh-cn/eeprom_driver.md) * [GPIO控制](zh-cn/internals_gpio_control.md) -- cgit v1.2.3