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
This commit is contained in:
		
							parent
							
								
									e409fb47f2
								
							
						
					
					
						commit
						400ca2d035
					
				
					 14 changed files with 397 additions and 125 deletions
				
			
		| 
						 | 
				
			
			@ -99,6 +99,7 @@
 | 
			
		|||
  * [ISP Flashing Guide](ru-ru/isp_flashing_guide.md)
 | 
			
		||||
  * [ARM Debugging Guide](ru-ru/arm_debugging.md)
 | 
			
		||||
  * [I2C Driver](ru-ru/i2c_driver.md)
 | 
			
		||||
  * [SPI Driver](ru-ru/spi_driver.md)
 | 
			
		||||
  * [WS2812 Driver](ru-ru/ws2812_driver.md)
 | 
			
		||||
  * [GPIO Controls](ru-ru/internals_gpio_control.md)
 | 
			
		||||
  * [Proton C Conversion](ru-ru/proton_c_conversion.md)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue