Skip to content

Commit 43b2c28

Browse files
KhanhNguyen-RVCKhiemNguyenT
authored andcommitted
hal: renesas: ra: Fixed IO definition issue for ELC register struct
Fixed IO definition issue for ELC register struct on RA8D1, RA8M1, RA8T1 Signed-off-by: Khanh Nguyen <[email protected]>
1 parent ef09b1e commit 43b2c28

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8D1BH.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,7 @@ typedef struct
15501550
} BY_b;
15511551
};
15521552
__IM uint8_t RESERVED;
1553+
__IM uint16_t RESERVED1;
15531554
} R_ELC_ELSEGR_Type; /*!< Size = 2 (0x2) */
15541555

15551556
/**
@@ -7746,7 +7747,7 @@ typedef struct /*!< (@ 0x40201000) R_ELC Structure
77467747
__IM uint8_t RESERVED;
77477748
__IM uint16_t RESERVED1;
77487749
__IOM R_ELC_ELSEGR_Type ELSEGR[2]; /*!< (@ 0x00000004) Event Link Software Event Generation Register */
7749-
__IM uint32_t RESERVED2[6];
7750+
__IM uint32_t RESERVED2[5];
77507751
__IOM R_ELC_ELSR_Type ELSR[31]; /*!< (@ 0x00000020) Event Link Setting Register [0..30] */
77517752
__IM uint32_t RESERVED3[17];
77527753

drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8M1AH.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,7 @@ typedef struct
15501550
} BY_b;
15511551
};
15521552
__IM uint8_t RESERVED;
1553+
__IM uint16_t RESERVED1;
15531554
} R_ELC_ELSEGR_Type; /*!< Size = 2 (0x2) */
15541555

15551556
/**
@@ -6220,7 +6221,7 @@ typedef struct /*!< (@ 0x40201000) R_ELC Structure
62206221
__IM uint8_t RESERVED;
62216222
__IM uint16_t RESERVED1;
62226223
__IOM R_ELC_ELSEGR_Type ELSEGR[2]; /*!< (@ 0x00000004) Event Link Software Event Generation Register */
6223-
__IM uint32_t RESERVED2[6];
6224+
__IM uint32_t RESERVED2[5];
62246225
__IOM R_ELC_ELSR_Type ELSR[31]; /*!< (@ 0x00000020) Event Link Setting Register [0..30] */
62256226
__IM uint32_t RESERVED3[17];
62266227

drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8T1AH.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,7 @@ typedef struct
15501550
} BY_b;
15511551
};
15521552
__IM uint8_t RESERVED;
1553+
__IM uint16_t RESERVED1;
15531554
} R_ELC_ELSEGR_Type; /*!< Size = 2 (0x2) */
15541555

15551556
/**
@@ -6185,7 +6186,7 @@ typedef struct /*!< (@ 0x40201000) R_ELC Structure
61856186
__IM uint8_t RESERVED;
61866187
__IM uint16_t RESERVED1;
61876188
__IOM R_ELC_ELSEGR_Type ELSEGR[2]; /*!< (@ 0x00000004) Event Link Software Event Generation Register */
6188-
__IM uint32_t RESERVED2[6];
6189+
__IM uint32_t RESERVED2[5];
61896190
__IOM R_ELC_ELSR_Type ELSR[31]; /*!< (@ 0x00000020) Event Link Setting Register [0..30] */
61906191
__IM uint32_t RESERVED3[17];
61916192

0 commit comments

Comments
 (0)