MCU ADA API for STM32F411 and TM4C1294
This page contains information on the MCU ADA API packages provided as part of the GNAT GPL 2015 board support files for the
Nucleo STM32F411 and the Tiva TM4C1294. In the tables below are the package names and which boards have the API supported. For more
information look at the ADA source code in either:
C:\GNAT\2015\arm-eabi\lib\gnat\ravenscar-sfp-stm32f411\arch
or
C:\GNAT\2015\arm-eabi\lib\gnat\ravenscar-sfp-tm4c1294\arch
Peripheral types for each board used with the APIs:
Board | MCU_Peripheral type |
---|---|
STM32F411 | GPIO_A, GPIO_B, GPIO_C, GPIO_D, GPIO_E, GPIO_H, USART_1, USART_2, USART_6, I2C_1, I2C_2, I2C_3, SPI_1, SPI_2, SPI_3, SPI_4, SPI_5 |
TM4C1294 | This is under development. |
Package: MCU
Procedure/Function | Description | STM32F411 | TM4C1294 |
---|---|---|---|
Enable_Clocking | Enables clocking for the peripheral passed as a parameter. | READY | NOT STARTED |
Package: MCU.GPIO
Procedure/Function | Description | STM32F411 | TM4C1294 |
---|---|---|---|
Set_Mode | Programs the MCU IO Pin for input, output, analog or alternate function. | NOT TESTED | NOT STARTED |
Blink_Board_LED | Blinks one of the board LEDs. | READY | NOT STARTED |
Package: MCU.UART
Procedure/Function | Description | STM32F411 | TM4C1294 |
---|---|---|---|
Set_Mode | Programs the MCU IO Pin for input, output, analog or alternate function. | NOT TESTED | NOT STARTED |
Set_Baud_Rate | Sets UART baud rate. | NOT STARTED | NOT STARTED |