SPI is initialized here for DAC. Remember to set the variable SPI_speed before the call. This function is becoming obsolote.
- Returns
- No parameters
240 SPIdrv->PowerControl (ARM_POWER_OFF);
241 SPIdrv->Uninitialize ();
244 SPIdrv->PowerControl(ARM_POWER_FULL);
249 SPIdrv->Control (ARM_SPI_CONTROL_SS, ARM_SPI_SS_INACTIVE);
void SPI_callback(uint32_t event)
After that the SPI ends its operations and the interrupt is generated this signal function is called ...
void SPI_Inizialize_per_il_DAC(void)
SPI is initialized here for DAC. Remember to set the variable SPI_speed before the call....
uint32_t SPI_speed
The speed to be set to SPI. It could varies from chip to chip.
#define SPI_control_for_DAC
[ref_SPI_control_for_relay_driver]
Definition at line 237 of file Spi.c.
References SPI_callback(), SPI_control_for_DAC, and SPI_speed.
Referenced by PGA_DAC_GAIN_CROSS(), PGA_GAIN(), and PGA_GAIN_set().