mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-09-28 14:59:33 -04:00
LPC43xx: Add CREG6 struct definition. Add I2S CREG6 configuration.
This commit is contained in:
parent
80d96b08cf
commit
49252dc1bc
3 changed files with 22 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue