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
dac_arch.h
Go to the documentation of this file.
1 #ifndef LPC21_MCU_PERIPH_DAC_ARCH_H
2 #define LPC21_MCU_PERIPH_DAC_ARCH_H
3 
4 #include "std.h"
5 #include "LPC21xx.h"
6 
7 static inline void DACSet(uint16_t x) {
8  DACR = x << 6;
9 }
10 
11 
12 #endif /* LPC21_MCU_PERIPH_DAC_ARCH_H */
unsigned short uint16_t
Definition: types.h:16
#define DACR
Definition: LPC21xx.h:357
static void DACSet(uint16_t x)
Definition: dac_arch.h:7