Skip to content

Commit a29d05e

Browse files
committed
simplicity_sdk: Add SDK files for the EFR32xG28 modules
Signed-off-by: Shontal Biton <[email protected]>
1 parent b972fd2 commit a29d05e

19 files changed

+236
-454
lines changed

simplicity_sdk/platform/Device/SiliconLabs/EFR32FG28/Include/efr32fg28_gpio.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a110f1024gm48.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1515,6 +1516,10 @@ typedef enum IRQn{
15151516
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15161517
: 0x0UL)
15171518

1519+
/* Instance macros for GPCRC */
1520+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1521+
: -1)
1522+
15181523
/* Instance macros for I2C */
15191524
#define I2C(n) (((n) == 0) ? I2C0 \
15201525
: ((n) == 1) ? I2C1 \
@@ -1543,6 +1548,14 @@ typedef enum IRQn{
15431548
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15441549
: 0x0UL)
15451550

1551+
/* Instance macros for LDMA */
1552+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1553+
: -1)
1554+
1555+
/* Instance macros for LDMAXBAR */
1556+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1557+
: -1)
1558+
15461559
/* Instance macros for LETIMER */
15471560
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15481561
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a110f1024gm68.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1549,6 +1550,10 @@ typedef enum IRQn{
15491550
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15501551
: 0x0UL)
15511552

1553+
/* Instance macros for GPCRC */
1554+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1555+
: -1)
1556+
15521557
/* Instance macros for I2C */
15531558
#define I2C(n) (((n) == 0) ? I2C0 \
15541559
: ((n) == 1) ? I2C1 \
@@ -1577,6 +1582,14 @@ typedef enum IRQn{
15771582
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15781583
: 0x0UL)
15791584

1585+
/* Instance macros for LDMA */
1586+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1587+
: -1)
1588+
1589+
/* Instance macros for LDMAXBAR */
1590+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1591+
: -1)
1592+
15801593
/* Instance macros for LETIMER */
15811594
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15821595
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a112f1024gm48.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1517,6 +1518,10 @@ typedef enum IRQn{
15171518
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15181519
: 0x0UL)
15191520

1521+
/* Instance macros for GPCRC */
1522+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1523+
: -1)
1524+
15201525
/* Instance macros for I2C */
15211526
#define I2C(n) (((n) == 0) ? I2C0 \
15221527
: ((n) == 1) ? I2C1 \
@@ -1545,6 +1550,14 @@ typedef enum IRQn{
15451550
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15461551
: 0x0UL)
15471552

1553+
/* Instance macros for LDMA */
1554+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1555+
: -1)
1556+
1557+
/* Instance macros for LDMAXBAR */
1558+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1559+
: -1)
1560+
15481561
/* Instance macros for LETIMER */
15491562
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15501563
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a112f1024gm68.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1551,6 +1552,10 @@ typedef enum IRQn{
15511552
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15521553
: 0x0UL)
15531554

1555+
/* Instance macros for GPCRC */
1556+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1557+
: -1)
1558+
15541559
/* Instance macros for I2C */
15551560
#define I2C(n) (((n) == 0) ? I2C0 \
15561561
: ((n) == 1) ? I2C1 \
@@ -1579,6 +1584,14 @@ typedef enum IRQn{
15791584
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15801585
: 0x0UL)
15811586

1587+
/* Instance macros for LDMA */
1588+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1589+
: -1)
1590+
1591+
/* Instance macros for LDMAXBAR */
1592+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1593+
: -1)
1594+
15821595
/* Instance macros for LETIMER */
15831596
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15841597
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a120f1024gm48.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1515,6 +1516,10 @@ typedef enum IRQn{
15151516
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15161517
: 0x0UL)
15171518

1519+
/* Instance macros for GPCRC */
1520+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1521+
: -1)
1522+
15181523
/* Instance macros for I2C */
15191524
#define I2C(n) (((n) == 0) ? I2C0 \
15201525
: ((n) == 1) ? I2C1 \
@@ -1543,6 +1548,14 @@ typedef enum IRQn{
15431548
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15441549
: 0x0UL)
15451550

1551+
/* Instance macros for LDMA */
1552+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1553+
: -1)
1554+
1555+
/* Instance macros for LDMAXBAR */
1556+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1557+
: -1)
1558+
15461559
/* Instance macros for LETIMER */
15471560
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15481561
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a120f1024gm68.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1549,6 +1550,10 @@ typedef enum IRQn{
15491550
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15501551
: 0x0UL)
15511552

1553+
/* Instance macros for GPCRC */
1554+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1555+
: -1)
1556+
15521557
/* Instance macros for I2C */
15531558
#define I2C(n) (((n) == 0) ? I2C0 \
15541559
: ((n) == 1) ? I2C1 \
@@ -1577,6 +1582,14 @@ typedef enum IRQn{
15771582
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15781583
: 0x0UL)
15791584

1585+
/* Instance macros for LDMA */
1586+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1587+
: -1)
1588+
1589+
/* Instance macros for LDMAXBAR */
1590+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1591+
: -1)
1592+
15801593
/* Instance macros for LETIMER */
15811594
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15821595
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a122f1024gm48.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1517,6 +1518,10 @@ typedef enum IRQn{
15171518
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15181519
: 0x0UL)
15191520

1521+
/* Instance macros for GPCRC */
1522+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1523+
: -1)
1524+
15201525
/* Instance macros for I2C */
15211526
#define I2C(n) (((n) == 0) ? I2C0 \
15221527
: ((n) == 1) ? I2C1 \
@@ -1545,6 +1550,14 @@ typedef enum IRQn{
15451550
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15461551
: 0x0UL)
15471552

1553+
/* Instance macros for LDMA */
1554+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1555+
: -1)
1556+
1557+
/* Instance macros for LDMAXBAR */
1558+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1559+
: -1)
1560+
15481561
/* Instance macros for LETIMER */
15491562
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15501563
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28a122f1024gm68.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1551,6 +1552,10 @@ typedef enum IRQn{
15511552
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15521553
: 0x0UL)
15531554

1555+
/* Instance macros for GPCRC */
1556+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1557+
: -1)
1558+
15541559
/* Instance macros for I2C */
15551560
#define I2C(n) (((n) == 0) ? I2C0 \
15561561
: ((n) == 1) ? I2C1 \
@@ -1579,6 +1584,14 @@ typedef enum IRQn{
15791584
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15801585
: 0x0UL)
15811586

1587+
/* Instance macros for LDMA */
1588+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1589+
: -1)
1590+
1591+
/* Instance macros for LDMAXBAR */
1592+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1593+
: -1)
1594+
15821595
/* Instance macros for LETIMER */
15831596
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15841597
: 0x0UL)

simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG28/Include/efr32zg28b310f1024im48.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef enum IRQn{
5353
MemoryManagement_IRQn = -12, /*!< -12 Cortex-M Memory Management Interrupt */
5454
BusFault_IRQn = -11, /*!< -11 Cortex-M Bus Fault Interrupt */
5555
UsageFault_IRQn = -10, /*!< -10 Cortex-M Usage Fault Interrupt */
56+
SecureFault_IRQn = -9, /*!< -9 Cortex-M Secure Fault Interrupt */
5657
SVCall_IRQn = -5, /*!< -5 Cortex-M SV Call Interrupt */
5758
DebugMonitor_IRQn = -4, /*!< -4 Cortex-M Debug Monitor Interrupt */
5859
PendSV_IRQn = -2, /*!< -2 Cortex-M Pend SV Interrupt */
@@ -1530,6 +1531,10 @@ typedef enum IRQn{
15301531
: ((n) == 2) ? EUSART2_NOT_EM2_CAPABLE \
15311532
: 0x0UL)
15321533

1534+
/* Instance macros for GPCRC */
1535+
#define GPCRC_NUM(ref) (((ref) == GPCRC) ? 0 \
1536+
: -1)
1537+
15331538
/* Instance macros for I2C */
15341539
#define I2C(n) (((n) == 0) ? I2C0 \
15351540
: ((n) == 1) ? I2C1 \
@@ -1558,6 +1563,14 @@ typedef enum IRQn{
15581563
#define IADC_ENTRIES(n) (((n) == 0) ? IADC0_ENTRIES \
15591564
: 0x0UL)
15601565

1566+
/* Instance macros for LDMA */
1567+
#define LDMA_NUM(ref) (((ref) == LDMA) ? 0 \
1568+
: -1)
1569+
1570+
/* Instance macros for LDMAXBAR */
1571+
#define LDMAXBAR_NUM(ref) (((ref) == LDMAXBAR) ? 0 \
1572+
: -1)
1573+
15611574
/* Instance macros for LETIMER */
15621575
#define LETIMER(n) (((n) == 0) ? LETIMER0 \
15631576
: 0x0UL)

0 commit comments

Comments
 (0)