my fork
Embed:
(wiki syntax)
Go to the source code of this file.
Functions | |
| static void | SPIx_Init (void) |
| Initializes SPI HAL. | |
| static void | SPIx_Write (uint8_t Value) |
| SPI Write a byte to device. | |
| static uint32_t | SPIx_Read (void) |
| SPI Read 4 bytes from device. | |
| static void | SPIx_Error (void) |
| SPI error treatment function. | |
| static void | SPIx_MspInit (SPI_HandleTypeDef *hspi) |
| Initializes SPI MSP. | |
| static void | ADCx_Init (void) |
| Initializes ADC HAL. | |
| static void | ADCx_MspInit (ADC_HandleTypeDef *hadc) |
| Initializes ADC MSP. | |
| void | SD_IO_Init (void) |
| Initializes the SD Card and put it into StandBy State (Ready for data transfer). | |
| HAL_StatusTypeDef | SD_IO_WriteCmd (uint8_t Cmd, uint32_t Arg, uint8_t Crc, uint8_t Response) |
| Sends 5 bytes command to the SD card and get response. | |
| HAL_StatusTypeDef | SD_IO_WaitResponse (uint8_t Response) |
| Waits response from the SD card. | |
| void | SD_IO_WriteDummy (void) |
| Sends dummy byte with CS High. | |
| void | SD_IO_WriteByte (uint8_t Data) |
| Writes a byte on the SD. | |
| uint8_t | SD_IO_ReadByte (void) |
| Reads a byte from the SD. | |
| void | LCD_IO_Init (void) |
| Initializes the LCD. | |
| void | LCD_IO_WriteData (uint8_t Data) |
| Writes data to select the LCD register. | |
| void | LCD_IO_WriteReg (uint8_t LCDReg) |
| Writes command to select the LCD register. | |
| void | LCD_Delay (uint32_t Delay) |
| Wait for loop in ms. | |
| uint32_t | BSP_GetVersion (void) |
| This method returns the STM32F4xx NUCLEO BSP Driver revision. | |
| void | BSP_LED_Init (Led_TypeDef Led) |
| Configures LED GPIO. | |
| void | BSP_LED_On (Led_TypeDef Led) |
| Turns selected LED On. | |
| void | BSP_LED_Off (Led_TypeDef Led) |
| Turns selected LED Off. | |
| void | BSP_LED_Toggle (Led_TypeDef Led) |
| Toggles the selected LED. | |
| void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef ButtonMode) |
| Configures Button GPIO and EXTI Line. | |
| uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
| Returns the selected Button state. | |
| uint8_t | BSP_JOY_Init (void) |
| Configures joystick available on adafruit 1.8" TFT shield managed through ADC to detect motion. | |
| JOYState_TypeDef | BSP_JOY_GetState (void) |
| Returns the Joystick key pressed. | |
Variables | |
| uint32_t | SpixTimeout = NUCLEO_SPIx_TIMEOUT_MAX |
| BUS variables. | |
Detailed Description
- Version:
- V1.1.0
- Date:
- 19-June-2014
Definition in file stm32f4xx_nucleo.c.
Generated on Tue Jul 12 2022 17:28:29 by
1.7.2