Changeset 137 for rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/cores/arduino/wiring_analog.c
- Timestamp:
- Nov 25, 2015, 12:28:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/cores/arduino/wiring_analog.c
r136 r137 30 30 static int ADC_RESOLUTION = 12; 31 31 static int DAC_RESOLUTION = 10; 32 33 // Wait for synchronization of registers between the clock domains 34 static __inline__ void syncDAC() __attribute__((always_inline, unused)); 35 static void syncDAC() { 36 while (DAC->STATUS.bit.SYNCBUSY == 1) 37 ; 38 } 32 39 33 40 void analogReadResolution(int res) {
Note:
See TracChangeset
for help on using the changeset viewer.