nuttx/arch/arm/src/efm32
Gregory Nutt 7d4cb73bd6 STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
This change three things:  (1) It adds HWFEAT_LSBFIRST as a new H/W feature.  (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
..
chip Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
chip.h Add EFM32 Memory Maps 2014-10-17 16:43:52 -06:00
efm32_adc.c Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn(). 2016-06-20 09:37:08 -06:00
efm32_adc.h Changes to conform to coding standard. Also, I assume references to STM32 should be EFM32? 2015-09-05 07:33:50 -06:00
efm32_bitband.c Standardize the width of all comment boxes in C files 2015-10-03 07:25:03 -06:00
efm32_bitband.h Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
efm32_clockconfig.c I'm using syslog through ITM. In this case syslog_channel function is call before ram initialisation in stm32_clockconfig. But syslog channel uses a global variable that is reset to default by the RAM initialization. 2016-07-14 07:29:39 -06:00
efm32_clockconfig.h More EFM32 files and logic 2014-10-17 12:02:32 -06:00
efm32_config.h Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG 2016-06-21 09:35:51 -06:00
efm32_dma.c Missed a few *llinfo() to *info() conversions 2016-06-20 16:24:09 -06:00
efm32_dma.h EFM32/DM320: Convert *err() to either *info() or add ERROR:, depending on if an error is reported 2016-06-17 12:50:18 -06:00
efm32_flash.c Fix EFM32 FLASH conditional compilation 2016-06-03 08:38:11 -06:00
efm32_gpio.c Centralize definitions associated with CONFIG_DEBUG_GPIO 2016-06-15 09:20:23 -06:00
efm32_gpio.h Centralize definitions associated with CONFIG_DEBUG_GPIO 2016-06-15 09:20:23 -06:00
efm32_gpioirq.c Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-13 19:11:09 -06:00
efm32_i2c.c EFM32/DM320: Convert *err() to either *info() or add ERROR:, depending on if an error is reported 2016-06-17 12:50:18 -06:00
efm32_i2c.h Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming 2016-02-02 12:08:23 -06:00
efm32_idle.c Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
efm32_irq.c Simplify some computations 2016-07-23 08:13:25 -06:00
efm32_leserial.c Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
efm32_lowputc.c Standardize the width of all comment boxes in C files 2015-10-03 07:25:03 -06:00
efm32_lowputc.h Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
efm32_pm.h Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:07:37 -06:00
efm32_pwm.c pwm.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:48:24 -06:00
efm32_pwm.h pwm.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:48:24 -06:00
efm32_rmu.c EFM32/DM320: Convert *err() to either *info() or add ERROR:, depending on if an error is reported 2016-06-17 12:50:18 -06:00
efm32_rmu.h Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn(). 2016-06-20 09:37:08 -06:00
efm32_rtc_burtc.c Centralize definitions associated with CONFIG_DEBUG_RTC 2016-06-16 07:39:23 -06:00
efm32_rtc.h Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
efm32_serial.c Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
efm32_spi.c STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers. 2016-08-08 08:28:13 -06:00
efm32_spi.h For LK MCUs, rename up_spiinitialize to kl_spibus_initialize 2016-01-26 16:19:03 -06:00
efm32_start.c I'm using syslog through ITM. In this case syslog_channel function is call before ram initialisation in stm32_clockconfig. But syslog channel uses a global variable that is reset to default by the RAM initialization. 2016-07-14 07:29:39 -06:00
efm32_start.h More EFM32 files and logic 2014-10-17 12:02:32 -06:00
efm32_timer.c Centralize definitions associated with CONFIG_DEBUG_TIMER 2016-06-16 07:16:25 -06:00
efm32_timer.h Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
efm32_timerisr.c Make some spacing comply better with coding standard 2015-10-06 17:28:32 -06:00
efm32_usb.h Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
efm32_usbdev.c Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
efm32_usbhost.c Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
efm32_vectors.S Standardize the width of all comment boxes in header files 2015-10-02 17:42:29 -06:00
Kconfig Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Make.defs Add spinlock support for ARMv7-M architectures 2016-02-09 13:44:22 -06:00