feature(i2s): add i2s driver

This commit is contained in:
XiongYu
2019-03-25 10:47:20 +08:00
parent d913340f00
commit cac248c42f
11 changed files with 1427 additions and 7 deletions

View File

@ -85,8 +85,8 @@ typedef volatile struct {
} int_ena;
union {
struct {
uint32_t take_data: 1;
uint32_t put_data: 1;
uint32_t rx_take_data: 1;
uint32_t tx_put_data: 1;
uint32_t rx_wfull: 1;
uint32_t rx_rempty: 1;
uint32_t tx_wfull: 1;
@ -137,7 +137,7 @@ typedef volatile struct {
} conf_chan;
} i2s_struct_t;
extern volatile i2s_struct_t I2S;
extern volatile i2s_struct_t I2S0;
#ifdef __cplusplus
}

View File

@ -340,7 +340,7 @@ typedef struct {
uint32_t host_conf_w5;
} slc_struct_t;
extern volatile slc_struct_t SLC;
extern volatile slc_struct_t SLC0;
#ifdef __cplusplus
}