Commit Graph

5 Commits

Author SHA1 Message Date
Nicolas Reinecke 6f67aa78c3 add STM32 qei (quadrature encoder interface) driver
Code from tinito in forum thread:
http://forum.chibios.org/phpbb/viewtopic.php?f=14&t=685

Updated to chibios trunk.
2016-05-08 18:27:11 +02:00
barthess 9d74dd2661 STM32 mass update to current naming convention in ChibiOS 2016-04-07 16:39:12 +03:00
Fabien Poussin 499335cd61 TIMCAP: Initial commit 2016-02-16 00:51:22 +01:00
Fabien Poussin 48a03708ff Changed the way files are included to a more convenient way. 2015-08-20 17:47:21 +02:00
Michael Spradling 316c3b4825 Add CRC Driver
This patch includes a high level and two low level drivers.

The high level driver is enabled with flag HAL_USE_CRC

The low level drivers include:
    * Hardware CRC for the STM32 cortex processor lines.(when supported)
        * Enabled with flag STM32_CRC_USE_CRC1
        * DMA is enabled with CRC_USE_DMA
          * SYNC api will use DMA, but put calling thread to sleep
          * ASYNC api enabled.
        * DMA Disabled
          * SYNC api spin while calculating CRC
          * ASYNC api disabled
    * Software CRC (3 modes)
        * CRCSW_CRC32_TABLE - Enables crc32 with lookup table.
        * CRCSW_CRC16_TABLE - Enables crc16 with lookup tables.
        * CRCSW_PROGRAMMBLE - Enables any crc done with computation.
          * Can calculate any crc configuration.
        * CRC_USE_DMA obviously not support with software CRC
2015-08-16 01:26:07 -04:00