Skip to content

Commit 881724b

Browse files
committed
[#4701] Correct DAC clock speed comments for SAMD21 and SAMD51
1 parent e8f21f0 commit 881724b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/atmel-samd/common-hal/analogio/AnalogOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ void common_hal_analogio_analogout_construct(analogio_analogout_obj_t *self,
8585
_pm_enable_bus_clock(PM_BUS_APBC, DAC);
8686
#endif
8787

88-
// SAMD21: This clock should be <= 12 MHz, per datasheet section 47.6.3.
89-
// SAMD51: This clock should be <= 350kHz, per datasheet table 37-6.
88+
// SAMD21: This clock should be <= 350 kHz, per datasheet table 36-7.
89+
// SAMD51: This clock should be <= 12 MHz, per datasheet section 47.6.3.
9090
_gclk_enable_channel(DAC_GCLK_ID, CONF_GCLK_DAC_SRC);
9191

9292
// Don't double init the DAC on the SAMD51 when both outputs are in use. We use the free state

0 commit comments

Comments
 (0)