ChipSelEn() / ChipSelDis() - SPI BSP

void  FSDev_BSP_SPI_ChipSelEn  (FS_QTY  unit_nbr);
void  FSDev_BSP_SPI_ChipSelDis (FS_QTY  unit_nbr);

File

Called from

Code enabled by

fs_dev_<dev_name>_bsp.c

Device driver

N/A

Enable/disable device chip select.

Arguments

unit_nbr

Unit number of device.

Returned Value

None.

Notes/Warnings

  1. The chip select is typically “active low”. To enable the device, the chip select pin should be cleared; to disable the device, the chip select pin should be set.