|
enum | channel { channel::left,
channel::right,
channel::all
} |
| Represents audio channel. More...
|
|
enum | beep_frequency {
beep_frequency::hz260 = 0x0,
beep_frequency::hz521 = 0x10,
beep_frequency::hz585 = 0x20,
beep_frequency::hz666 = 0x30,
beep_frequency::hz705 = 0x40,
beep_frequency::hz774 = 0x50,
beep_frequency::hz888 = 0x60,
beep_frequency::hz1000 = 0x70,
beep_frequency::hz1043 = 0x80,
beep_frequency::hz1200 = 0x90,
beep_frequency::hz1333 = 0xA0,
beep_frequency::hz1411 = 0xB0,
beep_frequency::hz1600 = 0xC0,
beep_frequency::hz1714 = 0xD0,
beep_frequency::hz2000 = 0xE0,
beep_frequency::hz2181 = 0xF0
} |
| Register masks for frequencies supported by beep generator. More...
|
|
enum | beep_on_time {
beep_on_time::ms86 = 0x0,
beep_on_time::ms430 = 0x1,
beep_on_time::ms780 = 0x2,
beep_on_time::ms1200 = 0x3,
beep_on_time::ms1500 = 0x4,
beep_on_time::ms1800 = 0x5,
beep_on_time::ms2200 = 0x6,
beep_on_time::ms2500 = 0x7,
beep_on_time::ms2800 = 0x8,
beep_on_time::ms3200 = 0x9,
beep_on_time::ms3500 = 0xA,
beep_on_time::ms3800 = 0xB,
beep_on_time::ms4200 = 0xC,
beep_on_time::ms4500 = 0xD,
beep_on_time::ms4800 = 0xE,
beep_on_time::ms5200 = 0xF
} |
| Register masks for possible values for on duration of the beep signal. More...
|
|
enum | beep_off_time {
beep_off_time::ms1230 = 0x0,
beep_off_time::ms2580 = 0x20,
beep_off_time::ms3900 = 0x40,
beep_off_time::ms5200 = 0x60,
beep_off_time::ms6600 = 0x80,
beep_off_time::ms8050 = 0xA0,
beep_off_time::ms9350 = 0xC0,
beep_off_time::ms10800 = 0xE0
} |
| Register masks for possible values for off duration of the beep signal. More...
|
|
enum | beep_mode { beep_mode::single = 0x40,
beep_mode::multiple = 0x80,
beep_mode::continuous = 0xC0
} |
| Register masks for operation modes of the beep generator. More...
|
|
using | user_callback = std::function< void(ecl::bus_event type) > |
| Describes the user callback. More...
|
|
template<class I2c, class I2s, class Rst_gpio>
class ecl::cs43l22< I2c, I2s, Rst_gpio >
The CS43L22 codec driver implementation.
- Template Parameters
-
I2c | I2C generic bus driver. |
I2s | I2S generic bus driver. |
Rst_gpio | Reset pin represented by generic GPIO class. |