Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gpio_arch.h File Reference
#include <stm32/gpio.h>
#include <stm32/rcc.h>
+ Include dependency graph for gpio_arch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPIO_ARCH_SET_SPI_CS_HIGH()
 

Macro Definition Documentation

#define GPIO_ARCH_SET_SPI_CS_HIGH ( )
Value:
{ \
GPIO_InitTypeDef GPIO_InitStructure; \
/* initialise peripheral clock for port B */ \
RCC_APB2PeriphClockCmd( RCC_APB2Periph_GPIOB, ENABLE); \
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12; \
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; \
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; \
GPIO_Init(GPIOB, &GPIO_InitStructure); \
/* set port B pin 12 to be high */ \
GPIO_WriteBit(GPIOB, GPIO_Pin_12 , Bit_SET ); \
}

Definition at line 7 of file gpio_arch.h.