Rajath Ravi / Mbed 2 deprecated ADC_DMA_POST_LEC12

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers gpio.h Source File

gpio.h

00001 #ifndef __GPIO_H_
00002 #define __GPIO_H_
00003 
00004 
00005 #ifdef __cplusplus
00006  extern "C" {
00007 #endif
00008 
00009 #include "main.h"
00010 
00011 /*Defining function that initializes Port F Pin 7 as Analog Output*/
00012 void InitPortFPin7asAnalog(void);
00013 
00014 /*Defining function that initializes Port F Pin 7,8,9 as Analog Output*/
00015 void InitPortFPin7Pin8Pin9asAnalog(void);
00016 
00017 /*Defining function that initializes Port B Pin 0 as Output*/
00018 void InitPortBPin0asOutput(void);
00019 
00020 /*Defining function that Toggles Port B Pin 0*/
00021 void toggleGPIOB0(void);
00022 
00023 
00024 #ifdef __cplusplus
00025 }
00026 #endif
00027 
00028 #endif /*__GPIO_H */
00029