zephyr/samples/drivers
Marc Reilly 54b6d26242 drivers: spi: add spi-bitbang driver
This adds an spi master mode driver via bitbanged gpio. Only syncronous
transfers are implemented. Clock signal timing is accomplished via busy
waits, the gpios are manipulated via the standard gpio interface; these
two factors limit the frequency at which it can operate - but here
a simple and generic implementation was chosen over performance.

The driver supports the various clock polarity and phase
configurations, and can also work with word sizes which are non
multiples of 8bits, currently up to 16 bits.

A sample program is also added demonstrating basic use of the driver
with 9bit data words.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
2021-12-06 07:29:45 -05:00
..
adc boards: mimxrt1160: Enabled ADC support for RT1160 2021-11-03 16:18:25 -04:00
audio/dmic kernel: Introduce K_MEM_SLAB_DEFINE_STATIC 2021-11-07 05:36:48 -05:00
can canbus: rename zephyr,can-primary chosen property to zephyr,canbus 2021-11-07 09:05:39 -05:00
clock_control_litex
counter drivers: counter: esp32: add support for esp32c3 2021-11-11 19:14:15 -05:00
crypto
current_sensing
dac
display
eeprom
espi drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
flash_shell
fpga
ht16k33
i2c_fujitsu_fram
i2s kernel: Introduce K_MEM_SLAB_DEFINE_STATIC 2021-11-07 05:36:48 -05:00
ipm samples: Move IPM samples in a different directory 2021-11-12 14:51:29 +01:00
jesd216
kscan
kscan_touch
lcd_hd44780
led_apa102
led_apa102c_bitbang
led_lp503x
led_lp3943
led_lp5562
led_lpd8806
led_pca9633 samples/drivers: led_pca9633: Replace target stm32373c_eval 2021-11-26 11:36:42 +01:00
led_pwm samples: led_pwm: added overlay for the esp32 board 2021-11-07 05:36:42 -05:00
led_sx1509b_intensity
led_ws2812
lora
mbox bindings: nrf-ipc: Enable DT helpers 2021-11-10 10:28:14 -06:00
misc/ft800
peci
ps2
soc_flash_nrf
spi_bitbang drivers: spi: add spi-bitbang driver 2021-12-06 07:29:45 -05:00
spi_flash samples: drivers: spi_flash: add support for the NPCX EVB 2021-11-01 21:48:20 -04:00
spi_flash_at45 pm: Use pm_device_action_run instead of state_set 2021-11-24 14:21:50 -05:00
spi_fujitsu_fram
watchdog boards: mimxrt1160: Enable watchdog timer on RT1160 2021-11-03 16:18:25 -04:00
drivers.rst