12 #ifndef CONFIG_CHECK_RENESAS_H
13 #define CONFIG_CHECK_RENESAS_H
46 #error This header should be included for RENESAS (Arduino Uno R4) architecture, only
50 #if !defined(MOZZI_AUDIO_MODE)
51 #define MOZZI_AUDIO_MODE MOZZI_OUTPUT_INTERNAL_DAC
53 MOZZI_CHECK_SUPPORTED(
MOZZI_AUDIO_MODE, MOZZI_OUTPUT_EXTERNAL_TIMED, MOZZI_OUTPUT_EXTERNAL_CUSTOM, MOZZI_OUTPUT_INTERNAL_DAC)
55 #if !defined(MOZZI_AUDIO_RATE)
56 #define MOZZI_AUDIO_RATE 32768
59 #if defined(MOZZI_PWM_RATE)
60 #error Configuration of MOZZI_PWM_RATE is not currently supported on this platform (always same as MOZZI_AUDIO_RATE)
63 #if !defined(MOZZI_ANALOG_READ)
64 # define MOZZI_ANALOG_READ MOZZI_ANALOG_READ_STANDARD
67 MOZZI_CHECK_SUPPORTED(
MOZZI_ANALOG_READ, MOZZI_ANALOG_READ_NONE, MOZZI_ANALOG_READ_STANDARD)
69 #if MOZZI_IS(MOZZI_AUDIO_MODE, MOZZI_OUTPUT_INTERNAL_DAC)
70 # if !defined(MOZZI_AUDIO_BITS)
71 # define MOZZI_AUDIO_BITS 12
73 # if !defined(MOZZI_AUDIO_PIN_1)
74 # define MOZZI_AUDIO_PIN_1 A0
76 # define BYPASS_MOZZI_OUTPUT_BUFFER true
77 # include "disable_stereo_on_github_workflow.h"
78 MOZZI_CHECK_SUPPORTED(MOZZI_AUDIO_CHANNELS, 1)
81 #define MOZZI__INTERNAL_ANALOG_READ_RESOLUTION 14