mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 23:27:40 +00:00
LPC43xx: Add CREG6 struct definition. Add I2S CREG6 configuration.
This commit is contained in:
@@ -41,6 +41,19 @@ extern "C" {
|
||||
* @brief Product name title=UM10503 Chapter title=LPC43xx Configuration Registers (CREG) Modification date=1/28/2014 Major revision=1 Minor revision=8
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
__IO uint32_t ETHMODE : 3;
|
||||
uint32_t RESERVED0 : 1;
|
||||
__IO uint32_t CTOUTCTRL : 1;
|
||||
uint32_t RESERVED1 : 7;
|
||||
__IO uint32_t I2S0_TX_SCK_IN_SEL : 1;
|
||||
__IO uint32_t I2S0_RX_SCK_IN_SEL : 1;
|
||||
__IO uint32_t I2S1_TX_SCK_IN_SEL : 1;
|
||||
__IO uint32_t I2S1_RX_SCK_IN_SEL : 1;
|
||||
__IO uint32_t EMC_CLK_SEL : 1;
|
||||
uint32_t RESERVED2 : 15;
|
||||
} LPC_CREG_CREG6_Type;
|
||||
|
||||
typedef struct {
|
||||
uint32_t RESERVED0;
|
||||
__IO uint32_t CREG0;
|
||||
@@ -52,7 +65,7 @@ typedef struct {
|
||||
__IO uint32_t FLASHCFGA;
|
||||
__IO uint32_t FLASHCFGB;
|
||||
__IO uint32_t ETBCFG;
|
||||
__IO uint32_t CREG6;
|
||||
LPC_CREG_CREG6_Type CREG6;
|
||||
__IO uint32_t M4TXEVENT;
|
||||
uint32_t RESERVED3[51];
|
||||
__I uint32_t CHIPID;
|
||||
|
Reference in New Issue
Block a user