|
|
@@ -5514,110 +5514,124 @@ typedef struct { |
|
|
|
#define LPSPI_RSR_SOF ((uint32_t)(1<<0)) |
|
|
|
|
|
|
|
// 39.3.1.1: page 2466 |
|
|
|
#define IMXRT_LPUART1 (*(IMXRT_REGISTER32_t *)0x40184000) |
|
|
|
#define LPUART1_VERID (IMXRT_LPUART1.offset000) |
|
|
|
#define LPUART1_PARAM (IMXRT_LPUART1.offset004) |
|
|
|
#define LPUART1_GLOBAL (IMXRT_LPUART1.offset008) |
|
|
|
#define LPUART1_PINCFG (IMXRT_LPUART1.offset00C) |
|
|
|
#define LPUART1_BAUD (IMXRT_LPUART1.offset010) |
|
|
|
#define LPUART1_STAT (IMXRT_LPUART1.offset014) |
|
|
|
#define LPUART1_CTRL (IMXRT_LPUART1.offset018) |
|
|
|
#define LPUART1_DATA (IMXRT_LPUART1.offset01C) |
|
|
|
#define LPUART1_MATCH (IMXRT_LPUART1.offset020) |
|
|
|
#define LPUART1_MODIR (IMXRT_LPUART1.offset024) |
|
|
|
#define LPUART1_FIFO (IMXRT_LPUART1.offset028) |
|
|
|
#define LPUART1_WATER (IMXRT_LPUART1.offset02C) |
|
|
|
#define IMXRT_LPUART2 (*(IMXRT_REGISTER32_t *)0x40188000) |
|
|
|
#define LPUART2_VERID (IMXRT_LPUART2.offset000) |
|
|
|
#define LPUART2_PARAM (IMXRT_LPUART2.offset004) |
|
|
|
#define LPUART2_GLOBAL (IMXRT_LPUART2.offset008) |
|
|
|
#define LPUART2_PINCFG (IMXRT_LPUART2.offset00C) |
|
|
|
#define LPUART2_BAUD (IMXRT_LPUART2.offset010) |
|
|
|
#define LPUART2_STAT (IMXRT_LPUART2.offset014) |
|
|
|
#define LPUART2_CTRL (IMXRT_LPUART2.offset018) |
|
|
|
#define LPUART2_DATA (IMXRT_LPUART2.offset01C) |
|
|
|
#define LPUART2_MATCH (IMXRT_LPUART2.offset020) |
|
|
|
#define LPUART2_MODIR (IMXRT_LPUART2.offset024) |
|
|
|
#define LPUART2_FIFO (IMXRT_LPUART2.offset028) |
|
|
|
#define LPUART2_WATER (IMXRT_LPUART2.offset02C) |
|
|
|
#define IMXRT_LPUART3 (*(IMXRT_REGISTER32_t *)0x4018C000) |
|
|
|
#define LPUART3_VERID (IMXRT_LPUART3.offset000) |
|
|
|
#define LPUART3_PARAM (IMXRT_LPUART3.offset004) |
|
|
|
#define LPUART3_GLOBAL (IMXRT_LPUART3.offset008) |
|
|
|
#define LPUART3_PINCFG (IMXRT_LPUART3.offset00C) |
|
|
|
#define LPUART3_BAUD (IMXRT_LPUART3.offset010) |
|
|
|
#define LPUART3_STAT (IMXRT_LPUART3.offset014) |
|
|
|
#define LPUART3_CTRL (IMXRT_LPUART3.offset018) |
|
|
|
#define LPUART3_DATA (IMXRT_LPUART3.offset01C) |
|
|
|
#define LPUART3_MATCH (IMXRT_LPUART3.offset020) |
|
|
|
#define LPUART3_MODIR (IMXRT_LPUART3.offset024) |
|
|
|
#define LPUART3_FIFO (IMXRT_LPUART3.offset028) |
|
|
|
#define LPUART3_WATER (IMXRT_LPUART3.offset02C) |
|
|
|
#define IMXRT_LPUART4 (*(IMXRT_REGISTER32_t *)0x40190000) |
|
|
|
#define LPUART4_VERID (IMXRT_LPUART4.offset000) |
|
|
|
#define LPUART4_PARAM (IMXRT_LPUART4.offset004) |
|
|
|
#define LPUART4_GLOBAL (IMXRT_LPUART4.offset008) |
|
|
|
#define LPUART4_PINCFG (IMXRT_LPUART4.offset00C) |
|
|
|
#define LPUART4_BAUD (IMXRT_LPUART4.offset010) |
|
|
|
#define LPUART4_STAT (IMXRT_LPUART4.offset014) |
|
|
|
#define LPUART4_CTRL (IMXRT_LPUART4.offset018) |
|
|
|
#define LPUART4_DATA (IMXRT_LPUART4.offset01C) |
|
|
|
#define LPUART4_MATCH (IMXRT_LPUART4.offset020) |
|
|
|
#define LPUART4_MODIR (IMXRT_LPUART4.offset024) |
|
|
|
#define LPUART4_FIFO (IMXRT_LPUART4.offset028) |
|
|
|
#define LPUART4_WATER (IMXRT_LPUART4.offset02C) |
|
|
|
#define IMXRT_LPUART5 (*(IMXRT_REGISTER32_t *)0x40194000) |
|
|
|
#define LPUART5_VERID (IMXRT_LPUART5.offset000) |
|
|
|
#define LPUART5_PARAM (IMXRT_LPUART5.offset004) |
|
|
|
#define LPUART5_GLOBAL (IMXRT_LPUART5.offset008) |
|
|
|
#define LPUART5_PINCFG (IMXRT_LPUART5.offset00C) |
|
|
|
#define LPUART5_BAUD (IMXRT_LPUART5.offset010) |
|
|
|
#define LPUART5_STAT (IMXRT_LPUART5.offset014) |
|
|
|
#define LPUART5_CTRL (IMXRT_LPUART5.offset018) |
|
|
|
#define LPUART5_DATA (IMXRT_LPUART5.offset01C) |
|
|
|
#define LPUART5_MATCH (IMXRT_LPUART5.offset020) |
|
|
|
#define LPUART5_MODIR (IMXRT_LPUART5.offset024) |
|
|
|
#define LPUART5_FIFO (IMXRT_LPUART5.offset028) |
|
|
|
#define LPUART5_WATER (IMXRT_LPUART5.offset02C) |
|
|
|
#define IMXRT_LPUART6 (*(IMXRT_REGISTER32_t *)0x40198000) |
|
|
|
#define LPUART6_VERID (IMXRT_LPUART6.offset000) |
|
|
|
#define LPUART6_PARAM (IMXRT_LPUART6.offset004) |
|
|
|
#define LPUART6_GLOBAL (IMXRT_LPUART6.offset008) |
|
|
|
#define LPUART6_PINCFG (IMXRT_LPUART6.offset00C) |
|
|
|
#define LPUART6_BAUD (IMXRT_LPUART6.offset010) |
|
|
|
#define LPUART6_STAT (IMXRT_LPUART6.offset014) |
|
|
|
#define LPUART6_CTRL (IMXRT_LPUART6.offset018) |
|
|
|
#define LPUART6_DATA (IMXRT_LPUART6.offset01C) |
|
|
|
#define LPUART6_MATCH (IMXRT_LPUART6.offset020) |
|
|
|
#define LPUART6_MODIR (IMXRT_LPUART6.offset024) |
|
|
|
#define LPUART6_FIFO (IMXRT_LPUART6.offset028) |
|
|
|
#define LPUART6_WATER (IMXRT_LPUART6.offset02C) |
|
|
|
#define IMXRT_LPUART7 (*(IMXRT_REGISTER32_t *)0x4019C000) |
|
|
|
#define LPUART7_VERID (IMXRT_LPUART7.offset000) |
|
|
|
#define LPUART7_PARAM (IMXRT_LPUART7.offset004) |
|
|
|
#define LPUART7_GLOBAL (IMXRT_LPUART7.offset008) |
|
|
|
#define LPUART7_PINCFG (IMXRT_LPUART7.offset00C) |
|
|
|
#define LPUART7_BAUD (IMXRT_LPUART7.offset010) |
|
|
|
#define LPUART7_STAT (IMXRT_LPUART7.offset014) |
|
|
|
#define LPUART7_CTRL (IMXRT_LPUART7.offset018) |
|
|
|
#define LPUART7_DATA (IMXRT_LPUART7.offset01C) |
|
|
|
#define LPUART7_MATCH (IMXRT_LPUART7.offset020) |
|
|
|
#define LPUART7_MODIR (IMXRT_LPUART7.offset024) |
|
|
|
#define LPUART7_FIFO (IMXRT_LPUART7.offset028) |
|
|
|
#define LPUART7_WATER (IMXRT_LPUART7.offset02C) |
|
|
|
#define IMXRT_LPUART8 (*(IMXRT_REGISTER32_t *)0x401A0000) |
|
|
|
#define LPUART8_VERID (IMXRT_LPUART8.offset000) |
|
|
|
#define LPUART8_PARAM (IMXRT_LPUART8.offset004) |
|
|
|
#define LPUART8_GLOBAL (IMXRT_LPUART8.offset008) |
|
|
|
#define LPUART8_PINCFG (IMXRT_LPUART8.offset00C) |
|
|
|
#define LPUART8_BAUD (IMXRT_LPUART8.offset010) |
|
|
|
#define LPUART8_STAT (IMXRT_LPUART8.offset014) |
|
|
|
#define LPUART8_CTRL (IMXRT_LPUART8.offset018) |
|
|
|
#define LPUART8_DATA (IMXRT_LPUART8.offset01C) |
|
|
|
#define LPUART8_MATCH (IMXRT_LPUART8.offset020) |
|
|
|
#define LPUART8_MODIR (IMXRT_LPUART8.offset024) |
|
|
|
#define LPUART8_FIFO (IMXRT_LPUART8.offset028) |
|
|
|
#define LPUART8_WATER (IMXRT_LPUART8.offset02C) |
|
|
|
typedef struct { |
|
|
|
const uint32_t VERID; |
|
|
|
const uint32_t PARAM; |
|
|
|
volatile uint32_t GLOBAL; |
|
|
|
volatile uint32_t PINCFG; |
|
|
|
volatile uint32_t BAUD; |
|
|
|
volatile uint32_t STAT; |
|
|
|
volatile uint32_t CTRL; |
|
|
|
volatile uint32_t DATA; |
|
|
|
volatile uint32_t MATCH; |
|
|
|
volatile uint32_t MODIR; |
|
|
|
volatile uint32_t FIFO; |
|
|
|
volatile uint32_t WATER; |
|
|
|
} IMXRT_LPUART_t; |
|
|
|
#define IMXRT_LPUART1 (*(IMXRT_LPUART_t *)0x40184000) |
|
|
|
#define LPUART1_VERID (IMXRT_LPUART1.VERID) |
|
|
|
#define LPUART1_PARAM (IMXRT_LPUART1.PARAM) |
|
|
|
#define LPUART1_GLOBAL (IMXRT_LPUART1.GLOBAL) |
|
|
|
#define LPUART1_PINCFG (IMXRT_LPUART1.PINCFG) |
|
|
|
#define LPUART1_BAUD (IMXRT_LPUART1.BAUD) |
|
|
|
#define LPUART1_STAT (IMXRT_LPUART1.STAT) |
|
|
|
#define LPUART1_CTRL (IMXRT_LPUART1.CTRL) |
|
|
|
#define LPUART1_DATA (IMXRT_LPUART1.DATA) |
|
|
|
#define LPUART1_MATCH (IMXRT_LPUART1.MATCH) |
|
|
|
#define LPUART1_MODIR (IMXRT_LPUART1.MODIR) |
|
|
|
#define LPUART1_FIFO (IMXRT_LPUART1.FIFO) |
|
|
|
#define LPUART1_WATER (IMXRT_LPUART1.WATER) |
|
|
|
#define IMXRT_LPUART2 (*(IMXRT_LPUART_t *)0x40188000) |
|
|
|
#define LPUART2_VERID (IMXRT_LPUART2.VERID) |
|
|
|
#define LPUART2_PARAM (IMXRT_LPUART2.PARAM) |
|
|
|
#define LPUART2_GLOBAL (IMXRT_LPUART2.GLOBAL) |
|
|
|
#define LPUART2_PINCFG (IMXRT_LPUART2.PINCFG) |
|
|
|
#define LPUART2_BAUD (IMXRT_LPUART2.BAUD) |
|
|
|
#define LPUART2_STAT (IMXRT_LPUART2.STAT) |
|
|
|
#define LPUART2_CTRL (IMXRT_LPUART2.CTRL) |
|
|
|
#define LPUART2_DATA (IMXRT_LPUART2.DATA) |
|
|
|
#define LPUART2_MATCH (IMXRT_LPUART2.MATCH) |
|
|
|
#define LPUART2_MODIR (IMXRT_LPUART2.MODIR) |
|
|
|
#define LPUART2_FIFO (IMXRT_LPUART2.FIFO) |
|
|
|
#define LPUART2_WATER (IMXRT_LPUART2.WATER) |
|
|
|
#define IMXRT_LPUART3 (*(IMXRT_LPUART_t *)0x4018C000) |
|
|
|
#define LPUART3_VERID (IMXRT_LPUART3.VERID) |
|
|
|
#define LPUART3_PARAM (IMXRT_LPUART3.PARAM) |
|
|
|
#define LPUART3_GLOBAL (IMXRT_LPUART3.GLOBAL) |
|
|
|
#define LPUART3_PINCFG (IMXRT_LPUART3.PINCFG) |
|
|
|
#define LPUART3_BAUD (IMXRT_LPUART3.BAUD) |
|
|
|
#define LPUART3_STAT (IMXRT_LPUART3.STAT) |
|
|
|
#define LPUART3_CTRL (IMXRT_LPUART3.CTRL) |
|
|
|
#define LPUART3_DATA (IMXRT_LPUART3.DATA) |
|
|
|
#define LPUART3_MATCH (IMXRT_LPUART3.MATCH) |
|
|
|
#define LPUART3_MODIR (IMXRT_LPUART3.MODIR) |
|
|
|
#define LPUART3_FIFO (IMXRT_LPUART3.FIFO) |
|
|
|
#define LPUART3_WATER (IMXRT_LPUART3.WATER) |
|
|
|
#define IMXRT_LPUART4 (*(IMXRT_LPUART_t *)0x40190000) |
|
|
|
#define LPUART4_VERID (IMXRT_LPUART4.VERID) |
|
|
|
#define LPUART4_PARAM (IMXRT_LPUART4.PARAM) |
|
|
|
#define LPUART4_GLOBAL (IMXRT_LPUART4.GLOBAL) |
|
|
|
#define LPUART4_PINCFG (IMXRT_LPUART4.PINCFG) |
|
|
|
#define LPUART4_BAUD (IMXRT_LPUART4.BAUD) |
|
|
|
#define LPUART4_STAT (IMXRT_LPUART4.STAT) |
|
|
|
#define LPUART4_CTRL (IMXRT_LPUART4.CTRL) |
|
|
|
#define LPUART4_DATA (IMXRT_LPUART4.DATA) |
|
|
|
#define LPUART4_MATCH (IMXRT_LPUART4.MATCH) |
|
|
|
#define LPUART4_MODIR (IMXRT_LPUART4.MODIR) |
|
|
|
#define LPUART4_FIFO (IMXRT_LPUART4.FIFO) |
|
|
|
#define LPUART4_WATER (IMXRT_LPUART4.WATER) |
|
|
|
#define IMXRT_LPUART5 (*(IMXRT_LPUART_t *)0x40194000) |
|
|
|
#define LPUART5_VERID (IMXRT_LPUART5.VERID) |
|
|
|
#define LPUART5_PARAM (IMXRT_LPUART5.PARAM) |
|
|
|
#define LPUART5_GLOBAL (IMXRT_LPUART5.GLOBAL) |
|
|
|
#define LPUART5_PINCFG (IMXRT_LPUART5.PINCFG) |
|
|
|
#define LPUART5_BAUD (IMXRT_LPUART5.BAUD) |
|
|
|
#define LPUART5_STAT (IMXRT_LPUART5.STAT) |
|
|
|
#define LPUART5_CTRL (IMXRT_LPUART5.CTRL) |
|
|
|
#define LPUART5_DATA (IMXRT_LPUART5.DATA) |
|
|
|
#define LPUART5_MATCH (IMXRT_LPUART5.MATCH) |
|
|
|
#define LPUART5_MODIR (IMXRT_LPUART5.MODIR) |
|
|
|
#define LPUART5_FIFO (IMXRT_LPUART5.FIFO) |
|
|
|
#define LPUART5_WATER (IMXRT_LPUART5.WATER) |
|
|
|
#define IMXRT_LPUART6 (*(IMXRT_LPUART_t *)0x40198000) |
|
|
|
#define LPUART6_VERID (IMXRT_LPUART6.VERID) |
|
|
|
#define LPUART6_PARAM (IMXRT_LPUART6.PARAM) |
|
|
|
#define LPUART6_GLOBAL (IMXRT_LPUART6.GLOBAL) |
|
|
|
#define LPUART6_PINCFG (IMXRT_LPUART6.PINCFG) |
|
|
|
#define LPUART6_BAUD (IMXRT_LPUART6.BAUD) |
|
|
|
#define LPUART6_STAT (IMXRT_LPUART6.STAT) |
|
|
|
#define LPUART6_CTRL (IMXRT_LPUART6.CTRL) |
|
|
|
#define LPUART6_DATA (IMXRT_LPUART6.DATA) |
|
|
|
#define LPUART6_MATCH (IMXRT_LPUART6.MATCH) |
|
|
|
#define LPUART6_MODIR (IMXRT_LPUART6.MODIR) |
|
|
|
#define LPUART6_FIFO (IMXRT_LPUART6.FIFO) |
|
|
|
#define LPUART6_WATER (IMXRT_LPUART6.WATER) |
|
|
|
#define IMXRT_LPUART7 (*(IMXRT_LPUART_t *)0x4019C000) |
|
|
|
#define LPUART7_VERID (IMXRT_LPUART7.VERID) |
|
|
|
#define LPUART7_PARAM (IMXRT_LPUART7.PARAM) |
|
|
|
#define LPUART7_GLOBAL (IMXRT_LPUART7.GLOBAL) |
|
|
|
#define LPUART7_PINCFG (IMXRT_LPUART7.PINCFG) |
|
|
|
#define LPUART7_BAUD (IMXRT_LPUART7.BAUD) |
|
|
|
#define LPUART7_STAT (IMXRT_LPUART7.STAT) |
|
|
|
#define LPUART7_CTRL (IMXRT_LPUART7.CTRL) |
|
|
|
#define LPUART7_DATA (IMXRT_LPUART7.DATA) |
|
|
|
#define LPUART7_MATCH (IMXRT_LPUART7.MATCH) |
|
|
|
#define LPUART7_MODIR (IMXRT_LPUART7.MODIR) |
|
|
|
#define LPUART7_FIFO (IMXRT_LPUART7.FIFO) |
|
|
|
#define LPUART7_WATER (IMXRT_LPUART7.WATER) |
|
|
|
#define IMXRT_LPUART8 (*(IMXRT_LPUART_t *)0x401A0000) |
|
|
|
#define LPUART8_VERID (IMXRT_LPUART8.VERID) |
|
|
|
#define LPUART8_PARAM (IMXRT_LPUART8.PARAM) |
|
|
|
#define LPUART8_GLOBAL (IMXRT_LPUART8.GLOBAL) |
|
|
|
#define LPUART8_PINCFG (IMXRT_LPUART8.PINCFG) |
|
|
|
#define LPUART8_BAUD (IMXRT_LPUART8.BAUD) |
|
|
|
#define LPUART8_STAT (IMXRT_LPUART8.STAT) |
|
|
|
#define LPUART8_CTRL (IMXRT_LPUART8.CTRL) |
|
|
|
#define LPUART8_DATA (IMXRT_LPUART8.DATA) |
|
|
|
#define LPUART8_MATCH (IMXRT_LPUART8.MATCH) |
|
|
|
#define LPUART8_MODIR (IMXRT_LPUART8.MODIR) |
|
|
|
#define LPUART8_FIFO (IMXRT_LPUART8.FIFO) |
|
|
|
#define LPUART8_WATER (IMXRT_LPUART8.WATER) |
|
|
|
#define LPUART_VERID_MAJOR(n) ((uint32_t)(((n) & 0xFF) << 24)) |
|
|
|
#define LPUART_VERID_MINOR(n) ((uint32_t)(((n) & 0xFF) << 16)) |
|
|
|
#define LPUART_VERID_FEATURE(n) ((uint32_t)(((n) & 0xFFFF) << 0)) |