summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/i2s.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/i2s.h b/firmware/drivers/i2s.h
index 386476e..8107e30 100644
--- a/firmware/drivers/i2s.h
+++ b/firmware/drivers/i2s.h
@@ -37,9 +37,10 @@ void i2s_set_power(int power);
/**
* Clock selection mode. See table 41, pg. 57.
+ * CCLK is the CPU clock rate (ie. 100Mhz on LPC1768)
*/
typedef enum {
- I2S_CCLK_4 = 0b00, ///< PCLK_peripheral = CCLK/4
+ I2S_CCLK_4 = 0b00, ///< PCLK_peripheral = CCLK/4 (default)
I2S_CCLK = 0b01, ///< PCLK_peripheral = CCLK
I2S_CCLK_2 = 0b10, ///< PCLK_peripheral = CCLK/2
I2S_CCLK_8 = 0b11, ///< PCLK_peripheral = CCLK/8