|
|
|
@@ -192,20 +192,20 @@ typedef union {
|
|
|
|
|
* 28: Select GPIO28\\
|
|
|
|
|
* 29 ~ 63: Reserved\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_ch0_event_sel:6;
|
|
|
|
|
uint32_t etm_chn_event_sel:6;
|
|
|
|
|
uint32_t reserved_6:1;
|
|
|
|
|
/** etm_ch0_event_en : R/W; bitpos: [7]; default: 0;
|
|
|
|
|
* Configures whether or not to enable ETM event send.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_ch0_event_en:1;
|
|
|
|
|
uint32_t etm_chn_event_en:1;
|
|
|
|
|
uint32_t reserved_8:24;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_event_chn_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p0_cfg register
|
|
|
|
|
/** Type of etm_task_pn_cfg register
|
|
|
|
|
* GPIO selection register 0 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
@@ -333,633 +333,8 @@ typedef union {
|
|
|
|
|
uint32_t reserved_30:2;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p0_cfg_reg_t;
|
|
|
|
|
} gpio_ext_etm_task_pn_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p1_cfg register
|
|
|
|
|
* GPIO selection register 1 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
|
struct {
|
|
|
|
|
/** etm_task_gpio5_sel : R/W; bitpos: [2:0]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio5_sel:3;
|
|
|
|
|
uint32_t reserved_3:2;
|
|
|
|
|
/** etm_task_gpio5_en : R/W; bitpos: [5]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio5_en:1;
|
|
|
|
|
/** etm_task_gpio6_sel : R/W; bitpos: [8:6]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio6_sel:3;
|
|
|
|
|
uint32_t reserved_9:2;
|
|
|
|
|
/** etm_task_gpio6_en : R/W; bitpos: [11]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio6_en:1;
|
|
|
|
|
/** etm_task_gpio7_sel : R/W; bitpos: [14:12]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio7_sel:3;
|
|
|
|
|
uint32_t reserved_15:2;
|
|
|
|
|
/** etm_task_gpio7_en : R/W; bitpos: [17]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio7_en:1;
|
|
|
|
|
/** etm_task_gpio8_sel : R/W; bitpos: [20:18]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio8_sel:3;
|
|
|
|
|
uint32_t reserved_21:2;
|
|
|
|
|
/** etm_task_gpio8_en : R/W; bitpos: [23]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio8_en:1;
|
|
|
|
|
/** etm_task_gpio9_sel : R/W; bitpos: [26:24]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio9_sel:3;
|
|
|
|
|
uint32_t reserved_27:2;
|
|
|
|
|
/** etm_task_gpio9_en : R/W; bitpos: [29]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio9_en:1;
|
|
|
|
|
uint32_t reserved_30:2;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p1_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p2_cfg register
|
|
|
|
|
* GPIO selection register 2 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
|
struct {
|
|
|
|
|
/** etm_task_gpio10_sel : R/W; bitpos: [2:0]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio10_sel:3;
|
|
|
|
|
uint32_t reserved_3:2;
|
|
|
|
|
/** etm_task_gpio10_en : R/W; bitpos: [5]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio10_en:1;
|
|
|
|
|
/** etm_task_gpio11_sel : R/W; bitpos: [8:6]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio11_sel:3;
|
|
|
|
|
uint32_t reserved_9:2;
|
|
|
|
|
/** etm_task_gpio11_en : R/W; bitpos: [11]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio11_en:1;
|
|
|
|
|
/** etm_task_gpio12_sel : R/W; bitpos: [14:12]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio12_sel:3;
|
|
|
|
|
uint32_t reserved_15:2;
|
|
|
|
|
/** etm_task_gpio12_en : R/W; bitpos: [17]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio12_en:1;
|
|
|
|
|
/** etm_task_gpio13_sel : R/W; bitpos: [20:18]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio13_sel:3;
|
|
|
|
|
uint32_t reserved_21:2;
|
|
|
|
|
/** etm_task_gpio13_en : R/W; bitpos: [23]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio13_en:1;
|
|
|
|
|
/** etm_task_gpio14_sel : R/W; bitpos: [26:24]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio14_sel:3;
|
|
|
|
|
uint32_t reserved_27:2;
|
|
|
|
|
/** etm_task_gpio14_en : R/W; bitpos: [29]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio14_en:1;
|
|
|
|
|
uint32_t reserved_30:2;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p2_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p3_cfg register
|
|
|
|
|
* GPIO selection register 3 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
|
struct {
|
|
|
|
|
/** etm_task_gpio15_sel : R/W; bitpos: [2:0]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio15_sel:3;
|
|
|
|
|
uint32_t reserved_3:2;
|
|
|
|
|
/** etm_task_gpio15_en : R/W; bitpos: [5]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio15_en:1;
|
|
|
|
|
/** etm_task_gpio16_sel : R/W; bitpos: [8:6]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio16_sel:3;
|
|
|
|
|
uint32_t reserved_9:2;
|
|
|
|
|
/** etm_task_gpio16_en : R/W; bitpos: [11]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio16_en:1;
|
|
|
|
|
/** etm_task_gpio17_sel : R/W; bitpos: [14:12]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio17_sel:3;
|
|
|
|
|
uint32_t reserved_15:2;
|
|
|
|
|
/** etm_task_gpio17_en : R/W; bitpos: [17]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio17_en:1;
|
|
|
|
|
/** etm_task_gpio18_sel : R/W; bitpos: [20:18]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio18_sel:3;
|
|
|
|
|
uint32_t reserved_21:2;
|
|
|
|
|
/** etm_task_gpio18_en : R/W; bitpos: [23]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio18_en:1;
|
|
|
|
|
/** etm_task_gpio19_sel : R/W; bitpos: [26:24]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio19_sel:3;
|
|
|
|
|
uint32_t reserved_27:2;
|
|
|
|
|
/** etm_task_gpio19_en : R/W; bitpos: [29]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio19_en:1;
|
|
|
|
|
uint32_t reserved_30:2;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p3_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p4_cfg register
|
|
|
|
|
* GPIO selection register 4 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
|
struct {
|
|
|
|
|
/** etm_task_gpio20_sel : R/W; bitpos: [2:0]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio20_sel:3;
|
|
|
|
|
uint32_t reserved_3:2;
|
|
|
|
|
/** etm_task_gpio20_en : R/W; bitpos: [5]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio20_en:1;
|
|
|
|
|
/** etm_task_gpio21_sel : R/W; bitpos: [8:6]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio21_sel:3;
|
|
|
|
|
uint32_t reserved_9:2;
|
|
|
|
|
/** etm_task_gpio21_en : R/W; bitpos: [11]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio21_en:1;
|
|
|
|
|
/** etm_task_gpio22_sel : R/W; bitpos: [14:12]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio22_sel:3;
|
|
|
|
|
uint32_t reserved_15:2;
|
|
|
|
|
/** etm_task_gpio22_en : R/W; bitpos: [17]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio22_en:1;
|
|
|
|
|
/** etm_task_gpio23_sel : R/W; bitpos: [20:18]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio23_sel:3;
|
|
|
|
|
uint32_t reserved_21:2;
|
|
|
|
|
/** etm_task_gpio23_en : R/W; bitpos: [23]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio23_en:1;
|
|
|
|
|
/** etm_task_gpio24_sel : R/W; bitpos: [26:24]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio24_sel:3;
|
|
|
|
|
uint32_t reserved_27:2;
|
|
|
|
|
/** etm_task_gpio24_en : R/W; bitpos: [29]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio24_en:1;
|
|
|
|
|
uint32_t reserved_30:2;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p4_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
/** Type of etm_task_p5_cfg register
|
|
|
|
|
* GPIO selection register 5 for ETM
|
|
|
|
|
*/
|
|
|
|
|
typedef union {
|
|
|
|
|
struct {
|
|
|
|
|
/** etm_task_gpio25_sel : R/W; bitpos: [2:0]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio25_sel:3;
|
|
|
|
|
uint32_t reserved_3:2;
|
|
|
|
|
/** etm_task_gpio25_en : R/W; bitpos: [5]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio25_en:1;
|
|
|
|
|
/** etm_task_gpio26_sel : R/W; bitpos: [8:6]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio26_sel:3;
|
|
|
|
|
uint32_t reserved_9:2;
|
|
|
|
|
/** etm_task_gpio26_en : R/W; bitpos: [11]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio26_en:1;
|
|
|
|
|
/** etm_task_gpio27_sel : R/W; bitpos: [14:12]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio27_sel:3;
|
|
|
|
|
uint32_t reserved_15:2;
|
|
|
|
|
/** etm_task_gpio27_en : R/W; bitpos: [17]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio27_en:1;
|
|
|
|
|
/** etm_task_gpio28_sel : R/W; bitpos: [20:18]; default: 0;
|
|
|
|
|
* Configures to select an ETM task channel for GPIO$n.\\
|
|
|
|
|
* 0: Select channel 0\\
|
|
|
|
|
* 1: Select channel 1\\
|
|
|
|
|
* ......\\
|
|
|
|
|
* 7: Select channel 7\\%\label{fielddesc:GPIOSDETMTASKGPIO1EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO1_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO1SEL}- [GPIOSD_ETM_TASK_GPIO1_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO2EN}-
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO2_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO2SEL}- [GPIOSD_ETM_TASK_GPIO2_SEL] GPIO choose a
|
|
|
|
|
* etm task channel. %\label{fielddesc:GPIOSDETMTASKGPIO3EN}\item
|
|
|
|
|
* [GPIOSD_ETM_TASK_GPIO3_EN] Enable bit of GPIO response etm task.
|
|
|
|
|
* %\label{fielddesc:GPIOSDETMTASKGPIO3SEL}\item [GPIOSD_ETM_TASK_GPIO3_SEL] GPIO
|
|
|
|
|
* choose a etm task channel.
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio28_sel:3;
|
|
|
|
|
uint32_t reserved_21:2;
|
|
|
|
|
/** etm_task_gpio28_en : R/W; bitpos: [23]; default: 0;
|
|
|
|
|
* Configures whether or not to enable GPIO$n to response ETM task.\\
|
|
|
|
|
* 0: Not enable\\
|
|
|
|
|
* 1: Enable\\
|
|
|
|
|
*/
|
|
|
|
|
uint32_t etm_task_gpio28_en:1;
|
|
|
|
|
uint32_t reserved_24:8;
|
|
|
|
|
};
|
|
|
|
|
uint32_t val;
|
|
|
|
|
} gpio_ext_etm_task_p5_cfg_reg_t;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Group: Interrupt Registers */
|
|
|
|
@@ -1073,6 +448,12 @@ typedef struct gpio_sd_dev_t {
|
|
|
|
|
volatile gpio_ext_sigmadeltan_reg_t channel[4];
|
|
|
|
|
} gpio_sd_dev_t;
|
|
|
|
|
|
|
|
|
|
typedef struct gpio_etm_dev_t {
|
|
|
|
|
volatile gpio_ext_etm_event_chn_cfg_reg_t etm_event_chn_cfg[8];
|
|
|
|
|
uint32_t reserved_080[8];
|
|
|
|
|
volatile gpio_ext_etm_task_pn_cfg_reg_t etm_task_pn_cfg[6];
|
|
|
|
|
} gpio_etm_dev_t;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
volatile gpio_sd_dev_t sigma_delta;
|
|
|
|
|
uint32_t reserved_018[16];
|
|
|
|
@@ -1081,14 +462,7 @@ typedef struct {
|
|
|
|
|
uint32_t reserved_060[30];
|
|
|
|
|
volatile gpio_ext_glitch_filter_chn_reg_t glitch_filter_chn[8];
|
|
|
|
|
uint32_t reserved_0f8[8];
|
|
|
|
|
volatile gpio_ext_etm_event_chn_cfg_reg_t etm_event_chn_cfg[8];
|
|
|
|
|
uint32_t reserved_138[8];
|
|
|
|
|
volatile gpio_ext_etm_task_p0_cfg_reg_t etm_task_p0_cfg;
|
|
|
|
|
volatile gpio_ext_etm_task_p1_cfg_reg_t etm_task_p1_cfg;
|
|
|
|
|
volatile gpio_ext_etm_task_p2_cfg_reg_t etm_task_p2_cfg;
|
|
|
|
|
volatile gpio_ext_etm_task_p3_cfg_reg_t etm_task_p3_cfg;
|
|
|
|
|
volatile gpio_ext_etm_task_p4_cfg_reg_t etm_task_p4_cfg;
|
|
|
|
|
volatile gpio_ext_etm_task_p5_cfg_reg_t etm_task_p5_cfg;
|
|
|
|
|
volatile gpio_etm_dev_t etm;
|
|
|
|
|
uint32_t reserved_170[24];
|
|
|
|
|
volatile gpio_ext_int_raw_reg_t int_raw;
|
|
|
|
|
volatile gpio_ext_int_st_reg_t int_st;
|
|
|
|
@@ -1100,6 +474,7 @@ typedef struct {
|
|
|
|
|
} gpio_ext_dev_t;
|
|
|
|
|
|
|
|
|
|
extern gpio_sd_dev_t SDM;
|
|
|
|
|
extern gpio_etm_dev_t GPIO_ETM;
|
|
|
|
|
extern gpio_ext_dev_t GPIO_EXT;
|
|
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
|