mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
a3a2dbd634
PIOS SPI devices may now make use of automatic CRC generation and checking on block transfers. Only supports CRC8 for now. Since the SPI interface CRC calculation continues across message boundaries (ie. not reset on every transfer), we must manually reset the CRC registers for every transfer to allow the two sides of the link to resynchronize. Unfortunately, resetting the CRC registers requires disabling the SPI peripheral which must now be done on every block transfer. Note: The last byte of the tx buffer is never sent and is assumed to be a place holder for the tx CRC8. Note: The last byte of the rx buffer is expected to hold the rx CRC8. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1011 ebee16cc-31ac-478f-84a7-5cbb03baadba |
||
---|---|---|
.. | ||
Libraries | ||
link_stm32f10x_HD_BL.ld | ||
link_stm32f10x_HD_NB.ld | ||
link_stm32f10x_HD.ld | ||
link_stm32f10x_MD.ld | ||
pios_adc.c | ||
pios_debug.c | ||
pios_delay.c | ||
pios_exti.c | ||
pios_gpio.c | ||
pios_i2c.c | ||
pios_irq.c | ||
pios_led.c | ||
pios_ppm.c | ||
pios_pwm.c | ||
pios_servo.c | ||
pios_spektrum.c | ||
pios_spi.c | ||
pios_sys.c | ||
pios_usart.c | ||
pios_usb_com.c | ||
pios_usb_hid.c | ||
pios_usb.c | ||
startup_stm32f10x_HD_BL.S | ||
startup_stm32f10x_HD_NB.S | ||
startup_stm32f10x_HD.S | ||
startup_stm32f10x_MD.S |