36 #if !(IS_MYPLATFORM())
37 # error "Wrong implementation included for this platform"
55 #if MOZZI_IS(MOZZI_ANALOG_READ, MOZZI_ANALOG_READ_STANDARD)
68 #error not yet implemented
72 #define getADCReading() GET_MY_PLATFORM_ADC_REGISTER
87 #define channelNumToIndex(channel) channel
88 uint8_t adcPinToChannelNum(uint8_t pin) {
93 void adcStartConversion(uint8_t channel) {
98 void startSecondADCReadOnCurrentChannel() {
103 void setupMozziADC(int8_t speed) {
104 setupFastAnalogRead(speed);
117 void setupFastAnalogRead(int8_t speed) {
143 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_PWM, MOZZI_OUTPUT_INTERNAL_DAC)
145 inline void audioOutput(const AudioOutput f) {
147 # if (MOZZI_AUDIO_CHANNELS > 1)
153 static void startAudio() {
158 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_PWM)
160 #elif MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC)
162 #elif MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_EXTERNAL_TIMED)
173 void MozziRandPrivate::autoSeed() {
180 #warning Automatic random seeding is not implemented on this platform
void stopMozzi()
Stops audio and control interrupts and restores the timers to the values they had before Mozzi was st...