CARME-M4 BSP
V1.5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
gpio_bsp.c
This example shows how to create an output gpio pin with the carme board support package.
/*
* This example shows how to create an output gpio pin with the carme board
* support package.
*/
#include <stm32f4xx.h>
#include <
carme_io2.h
>
int
main(
void
) {
CARME_IO2_Init
();
CARME_IO2_GPIO_Out_Settings(
CARME_IO2_GPIO_OUT_PIN0
,
CARME_IO2_GPIO_OUT_MODE_GPIO
);
for
(;;) {
CARME_IO2_GPIO_OUT_Set
(1);
CARME_IO2_GPIO_OUT_Set
(0);
}
return
0;
}
Generated on Fri Aug 12 2016 17:42:38 for CARME-M4 BSP by
1.8.10