Changeset 137
- Timestamp:
- Nov 25, 2015, 12:28:52 AM (9 years ago)
- Location:
- rtos_arduino/trunk
- Files:
-
- 109 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/README.txt
r136 r137 1 1 ===================================================================== 2 2 TOPPERS RTE/RTOS compatible with Arduino libraries : RCA 3 Last Modified:2015 Nov 2 4 23:46:503 Last Modified:2015 Nov 25 00:27:39 4 4 ===================================================================== 5 5 … … 304 304 #endif /* defined(ARDUINO_ARCH_SAMD) */ 305 305 306 307 hardware/arduino/samd/cores/arduino/wiring_analog.c 308 å 309 é ã«ä»¥ä¸ã追å ï¼ 310 311 // Wait for synchronization of registers between the clock domains 312 static __inline__ void syncDAC() __attribute__((always_inline, unused)); 313 static void syncDAC() { 314 while (DAC->STATUS.bit.SYNCBUSY == 1) 315 ; 316 } 317 306 318 âTOPPERSå¯¾å¿ 307 319 /hardware/tools/CMSIS/CMSIS/Include/core_cm0plus.h : 646è¡ç® -
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.