USB Device - Joystick/Mouse
1.0
|
Functions | |
void | STM_EVAL_LEDInit (Led_TypeDef Led) |
Configures LED GPIO. More... | |
void | STM_EVAL_LEDOn (Led_TypeDef Led) |
Turns selected LED On. More... | |
void | STM_EVAL_LEDOff (Led_TypeDef Led) |
Turns selected LED Off. More... | |
void | STM_EVAL_LEDToggle (Led_TypeDef Led) |
Toggles the selected LED. More... | |
void | STM_EVAL_PBInit (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode) |
Configures Button GPIO and EXTI Line. More... | |
uint32_t | STM_EVAL_PBGetState (Button_TypeDef Button) |
Returns the selected Button state. More... | |
void | STM_EVAL_COMInit (COM_TypeDef COM, USART_InitTypeDef *USART_InitStruct) |
Configures COM port. More... | |
void | SD_LowLevel_DeInit (void) |
DeInitializes the SDIO interface. More... | |
void | SD_LowLevel_Init (void) |
Initializes the SD Card and put it into StandBy State (Ready for data transfer). More... | |
void | SD_LowLevel_DMA_TxConfig (uint32_t *BufferSRC, uint32_t BufferSize) |
Configures the DMA2 Channel4 for SDIO Tx request. More... | |
void | SD_LowLevel_DMA_RxConfig (uint32_t *BufferDST, uint32_t BufferSize) |
Configures the DMA2 Channel4 for SDIO Rx request. More... | |
void | sEE_LowLevel_DeInit (void) |
DeInitializes peripherals used by the I2C EEPROM driver. More... | |
void | sEE_LowLevel_Init (void) |
Initializes peripherals used by the I2C EEPROM driver. More... | |
void | sEE_LowLevel_DMAConfig (uint32_t pBuffer, uint32_t BufferSize, uint32_t Direction) |
Initializes DMA channel used by the I2C EEPROM driver. More... | |
void SD_LowLevel_DeInit | ( | void | ) |
DeInitializes the SDIO interface.
None |
None |
< Disable SDIO Clock
< Set Power State to OFF
< DeInitializes the SDIO peripheral
void SD_LowLevel_DMA_RxConfig | ( | uint32_t * | BufferDST, |
uint32_t | BufferSize | ||
) |
Configures the DMA2 Channel4 for SDIO Rx request.
BufferDST | pointer to the destination buffer |
BufferSize | buffer size |
None |
void SD_LowLevel_DMA_TxConfig | ( | uint32_t * | BufferSRC, |
uint32_t | BufferSize | ||
) |
Configures the DMA2 Channel4 for SDIO Tx request.
BufferSRC | pointer to the source buffer |
BufferSize | buffer size |
None |
void SD_LowLevel_Init | ( | void | ) |
Initializes the SD Card and put it into StandBy State (Ready for data transfer).
None |
None |
< Configure SD_SPI_DETECT_PIN pin: SD Card detect pin
void sEE_LowLevel_DeInit | ( | void | ) |
DeInitializes peripherals used by the I2C EEPROM driver.
None |
None |
< sEE_I2C Periph clock disable
< GPIO configuration
< Configure sEE_I2C pins: SCL
< Configure sEE_I2C pins: SDA
void sEE_LowLevel_DMAConfig | ( | uint32_t | pBuffer, |
uint32_t | BufferSize, | ||
uint32_t | Direction | ||
) |
Initializes DMA channel used by the I2C EEPROM driver.
None |
None |
void sEE_LowLevel_Init | ( | void | ) |
Initializes peripherals used by the I2C EEPROM driver.
None |
None |
< sEE_I2C Periph clock enable
< sEE_I2C_SCL_GPIO_CLK and sEE_I2C_SDA_GPIO_CLK Periph clock enable
< GPIO configuration
< Configure sEE_I2C pins: SCL
< Configure sEE_I2C pins: SDA
< I2C DMA TX and RX channels configuration
void STM_EVAL_COMInit | ( | COM_TypeDef | COM, |
USART_InitTypeDef * | USART_InitStruct | ||
) |
Configures COM port.
COM | Specifies the COM port to be configured. This parameter can be one of following parameters:
|
USART_InitStruct | pointer to a USART_InitTypeDef structure that contains the configuration information for the specified USART peripheral. |
None |
void STM_EVAL_LEDInit | ( | Led_TypeDef | Led | ) |
Configures LED GPIO.
Led | Specifies the Led to be configured. This parameter can be one of following parameters:
|
None |
void STM_EVAL_LEDOff | ( | Led_TypeDef | Led | ) |
Turns selected LED Off.
Led | Specifies the Led to be set off. This parameter can be one of following parameters:
|
None |
void STM_EVAL_LEDOn | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
Led | Specifies the Led to be set on. This parameter can be one of following parameters:
|
None |
void STM_EVAL_LEDToggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
Led | Specifies the Led to be toggled. This parameter can be one of following parameters:
|
None |
uint32_t STM_EVAL_PBGetState | ( | Button_TypeDef | Button | ) |
Returns the selected Button state.
Button | Specifies the Button to be checked. This parameter can be one of following parameters:
|
The | Button GPIO pin value. |
void STM_EVAL_PBInit | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | Button_Mode | ||
) |
Configures Button GPIO and EXTI Line.
Button | Specifies the Button to be configured. This parameter can be one of following parameters:
|
Button_Mode | Specifies Button mode. This parameter can be one of following parameters:
|
None |