Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gpio_arch.h File Reference

GPIO helper functions for LPC21xx. More...

#include "std.h"
#include "LPC21xx.h"
+ Include dependency graph for gpio_arch.h:

Go to the source code of this file.

Functions

static void gpio_output_high (uint32_t port, uint16_t pin)
 Set a gpio output to high level. More...
 
static void gpio_output_low (uint32_t port, uint16_t pin)
 Clear a gpio output to low level. More...
 

Detailed Description

GPIO helper functions for LPC21xx.

Definition in file gpio_arch.h.

Function Documentation

static void gpio_output_high ( uint32_t  port,
uint16_t  pin 
)
inlinestatic

Set a gpio output to high level.

Definition at line 37 of file gpio_arch.h.

References IO0SET, and IO1SET.

Referenced by imu_impl_init().

+ Here is the caller graph for this function:

static void gpio_output_low ( uint32_t  port,
uint16_t  pin 
)
inlinestatic

Clear a gpio output to low level.

Definition at line 47 of file gpio_arch.h.

References IO0CLR, and IO1CLR.