| 
    Appiko
    
   | 
 
Functions | |
| void | SdkEvalSpiInit (void) | 
| Write single or multiple registers.  More... | |
| void | SdkEvalSpiDeinit (void) | 
| Deinitializes the SPI.  More... | |
| StatusBytes | SdkEvalSpiWriteRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer) | 
| Write single or multiple registers.  More... | |
| StatusBytes | SdkEvalSpiReadRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer) | 
| Read single or multiple registers.  More... | |
| StatusBytes | SdkEvalSpiCommandStrobes (uint8_t cCommandCode) | 
| Send a command.  More... | |
| StatusBytes | SdkEvalSpiWriteFifo (uint8_t cNbBytes, uint8_t *pcBuffer) | 
| Write data into TX FIFO.  More... | |
| StatusBytes | SdkEvalSpiReadFifo (uint8_t cNbBytes, uint8_t *pcBuffer) | 
| Read data from RX FIFO.  More... | |
| void | SdkEvalEnterShutdown (void) | 
| Puts at logic 1 the SDN pin.  More... | |
| void | SdkEvalExitShutdown (void) | 
| Put at logic 0 the SDN pin.  More... | |
| SFlagStatus | SdkEvalCheckShutdown (void) | 
| check the logic(0 or 1) at the SDN pin.  More... | |
| SFlagStatus SdkEvalCheckShutdown | ( | void | ) | 
| None. | 
| FlagStatus. | 
Definition at line 365 of file SDK_EVAL_Gpio.c.
References M2S_GPIO_SDN, and SdkEvalGpioGetLevel().
| void SdkEvalEnterShutdown | ( | void | ) | 
| void SdkEvalExitShutdown | ( | void | ) | 
| StatusBytes SdkEvalSpiCommandStrobes | ( | uint8_t | cCommandCode | ) | 
| cCommandCode | command code to be sent | 
| Device | status | 
Definition at line 363 of file SDK_EVAL_Spi_Driver.c.
References COMMAND_HEADER, hal_spim_is_busy(), and hal_spim_tx_rx().
| void SdkEvalSpiDeinit | ( | void | ) | 
| None | 
| None | 
Definition at line 141 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_deinit().
| void SdkEvalSpiInit | ( | void | ) | 
| baudrate_prescaler | baudrate prescaler to be used Must be one of the SPI_BaudRate_Prescaler . | 
| NoneInitializes | the SPI. | 
| None | 
| None | 
Definition at line 231 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_init_t::csBar_pin.
| StatusBytes SdkEvalSpiReadFifo | ( | uint8_t | cNbBytes, | 
| uint8_t * | pcBuffer | ||
| ) | 
| cNbBytes | number of bytes to read from RX FIFO | 
| pcBuffer | pointer to data read from RX FIFO | 
| Device | status | 
Definition at line 410 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_is_busy(), hal_spim_tx_rx(), LINEAR_FIFO_ADDRESS, and READ_HEADER.
| StatusBytes SdkEvalSpiReadRegisters | ( | uint8_t | cRegAddress, | 
| uint8_t | cNbBytes, | ||
| uint8_t * | pcBuffer | ||
| ) | 
| cRegAddress | base register's address to be read | 
| cNbBytes | number of registers and bytes to be read | 
| pcBuffer | pointer to the buffer of registers' values read | 
| Device | status | 
Definition at line 341 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_is_busy(), hal_spim_tx_rx(), and READ_HEADER.
| StatusBytes SdkEvalSpiWriteFifo | ( | uint8_t | cNbBytes, | 
| uint8_t * | pcBuffer | ||
| ) | 
| cNbBytes | number of bytes to be written into TX FIFO | 
| pcBuffer | pointer to data to write | 
| Device | status | 
Definition at line 385 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_is_busy(), hal_spim_tx_rx(), LINEAR_FIFO_ADDRESS, and WRITE_HEADER.
| StatusBytes SdkEvalSpiWriteRegisters | ( | uint8_t | cRegAddress, | 
| uint8_t | cNbBytes, | ||
| uint8_t * | pcBuffer | ||
| ) | 
| cRegAddress | base register's address to be write | 
| cNbBytes | number of registers and bytes to be write | 
| pcBuffer | pointer to the buffer of values have to be written into registers | 
| Device | status | 
Definition at line 314 of file SDK_EVAL_Spi_Driver.c.
References hal_spim_is_busy(), hal_spim_tx_rx(), and WRITE_HEADER.
 1.8.15