mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1133 lines
44 KiB
C
1133 lines
44 KiB
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#pragma once
|
|
|
|
#include "soc.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define RMT_CH0DATA_REG (DR_REG_RMT_BASE + 0x0000)
|
|
|
|
#define RMT_CH1DATA_REG (DR_REG_RMT_BASE + 0x0004)
|
|
|
|
#define RMT_CH2DATA_REG (DR_REG_RMT_BASE + 0x0008)
|
|
|
|
#define RMT_CH3DATA_REG (DR_REG_RMT_BASE + 0x000c)
|
|
|
|
#define RMT_CH0CONF0_REG (DR_REG_RMT_BASE + 0x0010)
|
|
/* RMT_CONF_UPDATE_CH0 : WT ;bitpos:[24] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CONF_UPDATE_CH0 (BIT(24))
|
|
#define RMT_CONF_UPDATE_CH0_M (BIT(24))
|
|
#define RMT_CONF_UPDATE_CH0_V 0x1
|
|
#define RMT_CONF_UPDATE_CH0_S 24
|
|
/* RMT_AFIFO_RST_CH0 : WT ;bitpos:[23] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_AFIFO_RST_CH0 (BIT(23))
|
|
#define RMT_AFIFO_RST_CH0_M (BIT(23))
|
|
#define RMT_AFIFO_RST_CH0_V 0x1
|
|
#define RMT_AFIFO_RST_CH0_S 23
|
|
/* RMT_CARRIER_OUT_LV_CH0 : R/W ;bitpos:[22] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_OUT_LV_CH0 (BIT(22))
|
|
#define RMT_CARRIER_OUT_LV_CH0_M (BIT(22))
|
|
#define RMT_CARRIER_OUT_LV_CH0_V 0x1
|
|
#define RMT_CARRIER_OUT_LV_CH0_S 22
|
|
/* RMT_CARRIER_EN_CH0 : R/W ;bitpos:[21] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EN_CH0 (BIT(21))
|
|
#define RMT_CARRIER_EN_CH0_M (BIT(21))
|
|
#define RMT_CARRIER_EN_CH0_V 0x1
|
|
#define RMT_CARRIER_EN_CH0_S 21
|
|
/* RMT_CARRIER_EFF_EN_CH0 : R/W ;bitpos:[20] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EFF_EN_CH0 (BIT(20))
|
|
#define RMT_CARRIER_EFF_EN_CH0_M (BIT(20))
|
|
#define RMT_CARRIER_EFF_EN_CH0_V 0x1
|
|
#define RMT_CARRIER_EFF_EN_CH0_S 20
|
|
/* RMT_MEM_SIZE_CH0 : R/W ;bitpos:[18:16] ;default: 3'h1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_SIZE_CH0 0x00000007
|
|
#define RMT_MEM_SIZE_CH0_M ((RMT_MEM_SIZE_CH0_V)<<(RMT_MEM_SIZE_CH0_S))
|
|
#define RMT_MEM_SIZE_CH0_V 0x7
|
|
#define RMT_MEM_SIZE_CH0_S 16
|
|
/* RMT_DIV_CNT_CH0 : R/W ;bitpos:[15:8] ;default: 8'h2 ; */
|
|
/*description: */
|
|
#define RMT_DIV_CNT_CH0 0x000000FF
|
|
#define RMT_DIV_CNT_CH0_M ((RMT_DIV_CNT_CH0_V)<<(RMT_DIV_CNT_CH0_S))
|
|
#define RMT_DIV_CNT_CH0_V 0xFF
|
|
#define RMT_DIV_CNT_CH0_S 8
|
|
/* RMT_TX_STOP_CH0 : R/W/SC ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_STOP_CH0 (BIT(7))
|
|
#define RMT_TX_STOP_CH0_M (BIT(7))
|
|
#define RMT_TX_STOP_CH0_V 0x1
|
|
#define RMT_TX_STOP_CH0_S 7
|
|
/* RMT_IDLE_OUT_EN_CH0 : R/W ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_IDLE_OUT_EN_CH0 (BIT(6))
|
|
#define RMT_IDLE_OUT_EN_CH0_M (BIT(6))
|
|
#define RMT_IDLE_OUT_EN_CH0_V 0x1
|
|
#define RMT_IDLE_OUT_EN_CH0_S 6
|
|
/* RMT_IDLE_OUT_LV_CH0 : R/W ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_IDLE_OUT_LV_CH0 (BIT(5))
|
|
#define RMT_IDLE_OUT_LV_CH0_M (BIT(5))
|
|
#define RMT_IDLE_OUT_LV_CH0_V 0x1
|
|
#define RMT_IDLE_OUT_LV_CH0_S 5
|
|
/* RMT_MEM_TX_WRAP_EN_CH0 : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_TX_WRAP_EN_CH0 (BIT(4))
|
|
#define RMT_MEM_TX_WRAP_EN_CH0_M (BIT(4))
|
|
#define RMT_MEM_TX_WRAP_EN_CH0_V 0x1
|
|
#define RMT_MEM_TX_WRAP_EN_CH0_S 4
|
|
/* RMT_TX_CONTI_MODE_CH0 : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_CONTI_MODE_CH0 (BIT(3))
|
|
#define RMT_TX_CONTI_MODE_CH0_M (BIT(3))
|
|
#define RMT_TX_CONTI_MODE_CH0_V 0x1
|
|
#define RMT_TX_CONTI_MODE_CH0_S 3
|
|
/* RMT_APB_MEM_RST_CH0 : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RST_CH0 (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH0_M (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH0_V 0x1
|
|
#define RMT_APB_MEM_RST_CH0_S 2
|
|
/* RMT_MEM_RD_RST_CH0 : WT ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RD_RST_CH0 (BIT(1))
|
|
#define RMT_MEM_RD_RST_CH0_M (BIT(1))
|
|
#define RMT_MEM_RD_RST_CH0_V 0x1
|
|
#define RMT_MEM_RD_RST_CH0_S 1
|
|
/* RMT_TX_START_CH0 : WT ;bitpos:[0] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_TX_START_CH0 (BIT(0))
|
|
#define RMT_TX_START_CH0_M (BIT(0))
|
|
#define RMT_TX_START_CH0_V 0x1
|
|
#define RMT_TX_START_CH0_S 0
|
|
|
|
#define RMT_CH1CONF0_REG (DR_REG_RMT_BASE + 0x0014)
|
|
/* RMT_CONF_UPDATE_CH1 : WT ;bitpos:[24] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CONF_UPDATE_CH1 (BIT(24))
|
|
#define RMT_CONF_UPDATE_CH1_M (BIT(24))
|
|
#define RMT_CONF_UPDATE_CH1_V 0x1
|
|
#define RMT_CONF_UPDATE_CH1_S 24
|
|
/* RMT_AFIFO_RST_CH1 : WT ;bitpos:[23] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_AFIFO_RST_CH1 (BIT(23))
|
|
#define RMT_AFIFO_RST_CH1_M (BIT(23))
|
|
#define RMT_AFIFO_RST_CH1_V 0x1
|
|
#define RMT_AFIFO_RST_CH1_S 23
|
|
/* RMT_CARRIER_OUT_LV_CH1 : R/W ;bitpos:[22] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_OUT_LV_CH1 (BIT(22))
|
|
#define RMT_CARRIER_OUT_LV_CH1_M (BIT(22))
|
|
#define RMT_CARRIER_OUT_LV_CH1_V 0x1
|
|
#define RMT_CARRIER_OUT_LV_CH1_S 22
|
|
/* RMT_CARRIER_EN_CH1 : R/W ;bitpos:[21] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EN_CH1 (BIT(21))
|
|
#define RMT_CARRIER_EN_CH1_M (BIT(21))
|
|
#define RMT_CARRIER_EN_CH1_V 0x1
|
|
#define RMT_CARRIER_EN_CH1_S 21
|
|
/* RMT_CARRIER_EFF_EN_CH1 : R/W ;bitpos:[20] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EFF_EN_CH1 (BIT(20))
|
|
#define RMT_CARRIER_EFF_EN_CH1_M (BIT(20))
|
|
#define RMT_CARRIER_EFF_EN_CH1_V 0x1
|
|
#define RMT_CARRIER_EFF_EN_CH1_S 20
|
|
/* RMT_MEM_SIZE_CH1 : R/W ;bitpos:[18:16] ;default: 3'h1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_SIZE_CH1 0x00000007
|
|
#define RMT_MEM_SIZE_CH1_M ((RMT_MEM_SIZE_CH1_V)<<(RMT_MEM_SIZE_CH1_S))
|
|
#define RMT_MEM_SIZE_CH1_V 0x7
|
|
#define RMT_MEM_SIZE_CH1_S 16
|
|
/* RMT_DIV_CNT_CH1 : R/W ;bitpos:[15:8] ;default: 8'h2 ; */
|
|
/*description: */
|
|
#define RMT_DIV_CNT_CH1 0x000000FF
|
|
#define RMT_DIV_CNT_CH1_M ((RMT_DIV_CNT_CH1_V)<<(RMT_DIV_CNT_CH1_S))
|
|
#define RMT_DIV_CNT_CH1_V 0xFF
|
|
#define RMT_DIV_CNT_CH1_S 8
|
|
/* RMT_TX_STOP_CH1 : R/W/SC ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_STOP_CH1 (BIT(7))
|
|
#define RMT_TX_STOP_CH1_M (BIT(7))
|
|
#define RMT_TX_STOP_CH1_V 0x1
|
|
#define RMT_TX_STOP_CH1_S 7
|
|
/* RMT_IDLE_OUT_EN_CH1 : R/W ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_IDLE_OUT_EN_CH1 (BIT(6))
|
|
#define RMT_IDLE_OUT_EN_CH1_M (BIT(6))
|
|
#define RMT_IDLE_OUT_EN_CH1_V 0x1
|
|
#define RMT_IDLE_OUT_EN_CH1_S 6
|
|
/* RMT_IDLE_OUT_LV_CH1 : R/W ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_IDLE_OUT_LV_CH1 (BIT(5))
|
|
#define RMT_IDLE_OUT_LV_CH1_M (BIT(5))
|
|
#define RMT_IDLE_OUT_LV_CH1_V 0x1
|
|
#define RMT_IDLE_OUT_LV_CH1_S 5
|
|
/* RMT_MEM_TX_WRAP_EN_CH1 : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_TX_WRAP_EN_CH1 (BIT(4))
|
|
#define RMT_MEM_TX_WRAP_EN_CH1_M (BIT(4))
|
|
#define RMT_MEM_TX_WRAP_EN_CH1_V 0x1
|
|
#define RMT_MEM_TX_WRAP_EN_CH1_S 4
|
|
/* RMT_TX_CONTI_MODE_CH1 : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_CONTI_MODE_CH1 (BIT(3))
|
|
#define RMT_TX_CONTI_MODE_CH1_M (BIT(3))
|
|
#define RMT_TX_CONTI_MODE_CH1_V 0x1
|
|
#define RMT_TX_CONTI_MODE_CH1_S 3
|
|
/* RMT_APB_MEM_RST_CH1 : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RST_CH1 (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH1_M (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH1_V 0x1
|
|
#define RMT_APB_MEM_RST_CH1_S 2
|
|
/* RMT_MEM_RD_RST_CH1 : WT ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RD_RST_CH1 (BIT(1))
|
|
#define RMT_MEM_RD_RST_CH1_M (BIT(1))
|
|
#define RMT_MEM_RD_RST_CH1_V 0x1
|
|
#define RMT_MEM_RD_RST_CH1_S 1
|
|
/* RMT_TX_START_CH1 : WT ;bitpos:[0] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_TX_START_CH1 (BIT(0))
|
|
#define RMT_TX_START_CH1_M (BIT(0))
|
|
#define RMT_TX_START_CH1_V 0x1
|
|
#define RMT_TX_START_CH1_S 0
|
|
|
|
#define RMT_CH2CONF0_REG (DR_REG_RMT_BASE + 0x0018)
|
|
/* RMT_CARRIER_OUT_LV_CH2 : R/W ;bitpos:[29] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_OUT_LV_CH2 (BIT(29))
|
|
#define RMT_CARRIER_OUT_LV_CH2_M (BIT(29))
|
|
#define RMT_CARRIER_OUT_LV_CH2_V 0x1
|
|
#define RMT_CARRIER_OUT_LV_CH2_S 29
|
|
/* RMT_CARRIER_EN_CH2 : R/W ;bitpos:[28] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EN_CH2 (BIT(28))
|
|
#define RMT_CARRIER_EN_CH2_M (BIT(28))
|
|
#define RMT_CARRIER_EN_CH2_V 0x1
|
|
#define RMT_CARRIER_EN_CH2_S 28
|
|
/* RMT_MEM_SIZE_CH2 : R/W ;bitpos:[25:23] ;default: 3'h1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_SIZE_CH2 0x00000007
|
|
#define RMT_MEM_SIZE_CH2_M ((RMT_MEM_SIZE_CH2_V)<<(RMT_MEM_SIZE_CH2_S))
|
|
#define RMT_MEM_SIZE_CH2_V 0x7
|
|
#define RMT_MEM_SIZE_CH2_S 23
|
|
/* RMT_IDLE_THRES_CH2 : R/W ;bitpos:[22:8] ;default: 15'h7fff ; */
|
|
/*description: */
|
|
#define RMT_IDLE_THRES_CH2 0x00007FFF
|
|
#define RMT_IDLE_THRES_CH2_M ((RMT_IDLE_THRES_CH2_V)<<(RMT_IDLE_THRES_CH2_S))
|
|
#define RMT_IDLE_THRES_CH2_V 0x7FFF
|
|
#define RMT_IDLE_THRES_CH2_S 8
|
|
/* RMT_DIV_CNT_CH2 : R/W ;bitpos:[7:0] ;default: 8'h2 ; */
|
|
/*description: */
|
|
#define RMT_DIV_CNT_CH2 0x000000FF
|
|
#define RMT_DIV_CNT_CH2_M ((RMT_DIV_CNT_CH2_V)<<(RMT_DIV_CNT_CH2_S))
|
|
#define RMT_DIV_CNT_CH2_V 0xFF
|
|
#define RMT_DIV_CNT_CH2_S 0
|
|
|
|
#define RMT_CH2CONF1_REG (DR_REG_RMT_BASE + 0x001c)
|
|
/* RMT_CONF_UPDATE_CH2 : WT ;bitpos:[15] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CONF_UPDATE_CH2 (BIT(15))
|
|
#define RMT_CONF_UPDATE_CH2_M (BIT(15))
|
|
#define RMT_CONF_UPDATE_CH2_V 0x1
|
|
#define RMT_CONF_UPDATE_CH2_S 15
|
|
/* RMT_AFIFO_RST_CH2 : WT ;bitpos:[14] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_AFIFO_RST_CH2 (BIT(14))
|
|
#define RMT_AFIFO_RST_CH2_M (BIT(14))
|
|
#define RMT_AFIFO_RST_CH2_V 0x1
|
|
#define RMT_AFIFO_RST_CH2_S 14
|
|
/* RMT_MEM_RX_WRAP_EN_CH2 : R/W ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RX_WRAP_EN_CH2 (BIT(13))
|
|
#define RMT_MEM_RX_WRAP_EN_CH2_M (BIT(13))
|
|
#define RMT_MEM_RX_WRAP_EN_CH2_V 0x1
|
|
#define RMT_MEM_RX_WRAP_EN_CH2_S 13
|
|
/* RMT_RX_FILTER_THRES_CH2 : R/W ;bitpos:[12:5] ;default: 8'hf ; */
|
|
/*description: */
|
|
#define RMT_RX_FILTER_THRES_CH2 0x000000FF
|
|
#define RMT_RX_FILTER_THRES_CH2_M ((RMT_RX_FILTER_THRES_CH2_V)<<(RMT_RX_FILTER_THRES_CH2_S))
|
|
#define RMT_RX_FILTER_THRES_CH2_V 0xFF
|
|
#define RMT_RX_FILTER_THRES_CH2_S 5
|
|
/* RMT_RX_FILTER_EN_CH2 : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_RX_FILTER_EN_CH2 (BIT(4))
|
|
#define RMT_RX_FILTER_EN_CH2_M (BIT(4))
|
|
#define RMT_RX_FILTER_EN_CH2_V 0x1
|
|
#define RMT_RX_FILTER_EN_CH2_S 4
|
|
/* RMT_MEM_OWNER_CH2 : R/W/SC ;bitpos:[3] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_OWNER_CH2 (BIT(3))
|
|
#define RMT_MEM_OWNER_CH2_M (BIT(3))
|
|
#define RMT_MEM_OWNER_CH2_V 0x1
|
|
#define RMT_MEM_OWNER_CH2_S 3
|
|
/* RMT_APB_MEM_RST_CH2 : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RST_CH2 (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH2_M (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH2_V 0x1
|
|
#define RMT_APB_MEM_RST_CH2_S 2
|
|
/* RMT_MEM_WR_RST_CH2 : WT ;bitpos:[1] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_WR_RST_CH2 (BIT(1))
|
|
#define RMT_MEM_WR_RST_CH2_M (BIT(1))
|
|
#define RMT_MEM_WR_RST_CH2_V 0x1
|
|
#define RMT_MEM_WR_RST_CH2_S 1
|
|
/* RMT_RX_EN_CH2 : R/W ;bitpos:[0] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_RX_EN_CH2 (BIT(0))
|
|
#define RMT_RX_EN_CH2_M (BIT(0))
|
|
#define RMT_RX_EN_CH2_V 0x1
|
|
#define RMT_RX_EN_CH2_S 0
|
|
|
|
#define RMT_CH3CONF0_REG (DR_REG_RMT_BASE + 0x0020)
|
|
/* RMT_CARRIER_OUT_LV_CH3 : R/W ;bitpos:[29] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_OUT_LV_CH3 (BIT(29))
|
|
#define RMT_CARRIER_OUT_LV_CH3_M (BIT(29))
|
|
#define RMT_CARRIER_OUT_LV_CH3_V 0x1
|
|
#define RMT_CARRIER_OUT_LV_CH3_S 29
|
|
/* RMT_CARRIER_EN_CH3 : R/W ;bitpos:[28] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_EN_CH3 (BIT(28))
|
|
#define RMT_CARRIER_EN_CH3_M (BIT(28))
|
|
#define RMT_CARRIER_EN_CH3_V 0x1
|
|
#define RMT_CARRIER_EN_CH3_S 28
|
|
/* RMT_MEM_SIZE_CH3 : R/W ;bitpos:[25:23] ;default: 3'h1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_SIZE_CH3 0x00000007
|
|
#define RMT_MEM_SIZE_CH3_M ((RMT_MEM_SIZE_CH3_V)<<(RMT_MEM_SIZE_CH3_S))
|
|
#define RMT_MEM_SIZE_CH3_V 0x7
|
|
#define RMT_MEM_SIZE_CH3_S 23
|
|
/* RMT_IDLE_THRES_CH3 : R/W ;bitpos:[22:8] ;default: 15'h7fff ; */
|
|
/*description: */
|
|
#define RMT_IDLE_THRES_CH3 0x00007FFF
|
|
#define RMT_IDLE_THRES_CH3_M ((RMT_IDLE_THRES_CH3_V)<<(RMT_IDLE_THRES_CH3_S))
|
|
#define RMT_IDLE_THRES_CH3_V 0x7FFF
|
|
#define RMT_IDLE_THRES_CH3_S 8
|
|
/* RMT_DIV_CNT_CH3 : R/W ;bitpos:[7:0] ;default: 8'h2 ; */
|
|
/*description: */
|
|
#define RMT_DIV_CNT_CH3 0x000000FF
|
|
#define RMT_DIV_CNT_CH3_M ((RMT_DIV_CNT_CH3_V)<<(RMT_DIV_CNT_CH3_S))
|
|
#define RMT_DIV_CNT_CH3_V 0xFF
|
|
#define RMT_DIV_CNT_CH3_S 0
|
|
|
|
#define RMT_CH3CONF1_REG (DR_REG_RMT_BASE + 0x0024)
|
|
/* RMT_CONF_UPDATE_CH3 : WT ;bitpos:[15] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CONF_UPDATE_CH3 (BIT(15))
|
|
#define RMT_CONF_UPDATE_CH3_M (BIT(15))
|
|
#define RMT_CONF_UPDATE_CH3_V 0x1
|
|
#define RMT_CONF_UPDATE_CH3_S 15
|
|
/* RMT_AFIFO_RST_CH3 : WT ;bitpos:[14] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_AFIFO_RST_CH3 (BIT(14))
|
|
#define RMT_AFIFO_RST_CH3_M (BIT(14))
|
|
#define RMT_AFIFO_RST_CH3_V 0x1
|
|
#define RMT_AFIFO_RST_CH3_S 14
|
|
/* RMT_MEM_RX_WRAP_EN_CH3 : R/W ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RX_WRAP_EN_CH3 (BIT(13))
|
|
#define RMT_MEM_RX_WRAP_EN_CH3_M (BIT(13))
|
|
#define RMT_MEM_RX_WRAP_EN_CH3_V 0x1
|
|
#define RMT_MEM_RX_WRAP_EN_CH3_S 13
|
|
/* RMT_RX_FILTER_THRES_CH3 : R/W ;bitpos:[12:5] ;default: 8'hf ; */
|
|
/*description: */
|
|
#define RMT_RX_FILTER_THRES_CH3 0x000000FF
|
|
#define RMT_RX_FILTER_THRES_CH3_M ((RMT_RX_FILTER_THRES_CH3_V)<<(RMT_RX_FILTER_THRES_CH3_S))
|
|
#define RMT_RX_FILTER_THRES_CH3_V 0xFF
|
|
#define RMT_RX_FILTER_THRES_CH3_S 5
|
|
/* RMT_RX_FILTER_EN_CH3 : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_RX_FILTER_EN_CH3 (BIT(4))
|
|
#define RMT_RX_FILTER_EN_CH3_M (BIT(4))
|
|
#define RMT_RX_FILTER_EN_CH3_V 0x1
|
|
#define RMT_RX_FILTER_EN_CH3_S 4
|
|
/* RMT_MEM_OWNER_CH3 : R/W/SC ;bitpos:[3] ;default: 1'b1 ; */
|
|
/*description: */
|
|
#define RMT_MEM_OWNER_CH3 (BIT(3))
|
|
#define RMT_MEM_OWNER_CH3_M (BIT(3))
|
|
#define RMT_MEM_OWNER_CH3_V 0x1
|
|
#define RMT_MEM_OWNER_CH3_S 3
|
|
/* RMT_APB_MEM_RST_CH3 : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RST_CH3 (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH3_M (BIT(2))
|
|
#define RMT_APB_MEM_RST_CH3_V 0x1
|
|
#define RMT_APB_MEM_RST_CH3_S 2
|
|
/* RMT_MEM_WR_RST_CH3 : WT ;bitpos:[1] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_WR_RST_CH3 (BIT(1))
|
|
#define RMT_MEM_WR_RST_CH3_M (BIT(1))
|
|
#define RMT_MEM_WR_RST_CH3_V 0x1
|
|
#define RMT_MEM_WR_RST_CH3_S 1
|
|
/* RMT_RX_EN_CH3 : R/W ;bitpos:[0] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_RX_EN_CH3 (BIT(0))
|
|
#define RMT_RX_EN_CH3_M (BIT(0))
|
|
#define RMT_RX_EN_CH3_V 0x1
|
|
#define RMT_RX_EN_CH3_S 0
|
|
|
|
#define RMT_CH0STATUS_REG (DR_REG_RMT_BASE + 0x0028)
|
|
/* RMT_APB_MEM_RADDR_CH0 : RO ;bitpos:[31:24] ;default: 8'h0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RADDR_CH0 0x000000FF
|
|
#define RMT_APB_MEM_RADDR_CH0_M ((RMT_APB_MEM_RADDR_CH0_V)<<(RMT_APB_MEM_RADDR_CH0_S))
|
|
#define RMT_APB_MEM_RADDR_CH0_V 0xFF
|
|
#define RMT_APB_MEM_RADDR_CH0_S 24
|
|
/* RMT_APB_MEM_WR_ERR_CH0 : RO ;bitpos:[23] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_WR_ERR_CH0 (BIT(23))
|
|
#define RMT_APB_MEM_WR_ERR_CH0_M (BIT(23))
|
|
#define RMT_APB_MEM_WR_ERR_CH0_V 0x1
|
|
#define RMT_APB_MEM_WR_ERR_CH0_S 23
|
|
/* RMT_MEM_EMPTY_CH0 : RO ;bitpos:[22] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_EMPTY_CH0 (BIT(22))
|
|
#define RMT_MEM_EMPTY_CH0_M (BIT(22))
|
|
#define RMT_MEM_EMPTY_CH0_V 0x1
|
|
#define RMT_MEM_EMPTY_CH0_S 22
|
|
/* RMT_APB_MEM_RD_ERR_CH0 : RO ;bitpos:[21] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RD_ERR_CH0 (BIT(21))
|
|
#define RMT_APB_MEM_RD_ERR_CH0_M (BIT(21))
|
|
#define RMT_APB_MEM_RD_ERR_CH0_V 0x1
|
|
#define RMT_APB_MEM_RD_ERR_CH0_S 21
|
|
/* RMT_APB_MEM_WADDR_CH0 : RO ;bitpos:[20:12] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_WADDR_CH0 0x000001FF
|
|
#define RMT_APB_MEM_WADDR_CH0_M ((RMT_APB_MEM_WADDR_CH0_V)<<(RMT_APB_MEM_WADDR_CH0_S))
|
|
#define RMT_APB_MEM_WADDR_CH0_V 0x1FF
|
|
#define RMT_APB_MEM_WADDR_CH0_S 12
|
|
/* RMT_STATE_CH0 : RO ;bitpos:[11:9] ;default: 3'b0 ; */
|
|
/*description: */
|
|
#define RMT_STATE_CH0 0x00000007
|
|
#define RMT_STATE_CH0_M ((RMT_STATE_CH0_V)<<(RMT_STATE_CH0_S))
|
|
#define RMT_STATE_CH0_V 0x7
|
|
#define RMT_STATE_CH0_S 9
|
|
/* RMT_MEM_RADDR_EX_CH0 : RO ;bitpos:[8:0] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RADDR_EX_CH0 0x000001FF
|
|
#define RMT_MEM_RADDR_EX_CH0_M ((RMT_MEM_RADDR_EX_CH0_V)<<(RMT_MEM_RADDR_EX_CH0_S))
|
|
#define RMT_MEM_RADDR_EX_CH0_V 0x1FF
|
|
#define RMT_MEM_RADDR_EX_CH0_S 0
|
|
|
|
#define RMT_CH1STATUS_REG (DR_REG_RMT_BASE + 0x002c)
|
|
/* RMT_APB_MEM_RADDR_CH1 : RO ;bitpos:[31:24] ;default: 8'h0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RADDR_CH1 0x000000FF
|
|
#define RMT_APB_MEM_RADDR_CH1_M ((RMT_APB_MEM_RADDR_CH1_V)<<(RMT_APB_MEM_RADDR_CH1_S))
|
|
#define RMT_APB_MEM_RADDR_CH1_V 0xFF
|
|
#define RMT_APB_MEM_RADDR_CH1_S 24
|
|
/* RMT_APB_MEM_WR_ERR_CH1 : RO ;bitpos:[23] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_WR_ERR_CH1 (BIT(23))
|
|
#define RMT_APB_MEM_WR_ERR_CH1_M (BIT(23))
|
|
#define RMT_APB_MEM_WR_ERR_CH1_V 0x1
|
|
#define RMT_APB_MEM_WR_ERR_CH1_S 23
|
|
/* RMT_MEM_EMPTY_CH1 : RO ;bitpos:[22] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_EMPTY_CH1 (BIT(22))
|
|
#define RMT_MEM_EMPTY_CH1_M (BIT(22))
|
|
#define RMT_MEM_EMPTY_CH1_V 0x1
|
|
#define RMT_MEM_EMPTY_CH1_S 22
|
|
/* RMT_APB_MEM_RD_ERR_CH1 : RO ;bitpos:[21] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RD_ERR_CH1 (BIT(21))
|
|
#define RMT_APB_MEM_RD_ERR_CH1_M (BIT(21))
|
|
#define RMT_APB_MEM_RD_ERR_CH1_V 0x1
|
|
#define RMT_APB_MEM_RD_ERR_CH1_S 21
|
|
/* RMT_APB_MEM_WADDR_CH1 : RO ;bitpos:[20:12] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_WADDR_CH1 0x000001FF
|
|
#define RMT_APB_MEM_WADDR_CH1_M ((RMT_APB_MEM_WADDR_CH1_V)<<(RMT_APB_MEM_WADDR_CH1_S))
|
|
#define RMT_APB_MEM_WADDR_CH1_V 0x1FF
|
|
#define RMT_APB_MEM_WADDR_CH1_S 12
|
|
/* RMT_STATE_CH1 : RO ;bitpos:[11:9] ;default: 3'b0 ; */
|
|
/*description: */
|
|
#define RMT_STATE_CH1 0x00000007
|
|
#define RMT_STATE_CH1_M ((RMT_STATE_CH1_V)<<(RMT_STATE_CH1_S))
|
|
#define RMT_STATE_CH1_V 0x7
|
|
#define RMT_STATE_CH1_S 9
|
|
/* RMT_MEM_RADDR_EX_CH1 : RO ;bitpos:[8:0] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_RADDR_EX_CH1 0x000001FF
|
|
#define RMT_MEM_RADDR_EX_CH1_M ((RMT_MEM_RADDR_EX_CH1_V)<<(RMT_MEM_RADDR_EX_CH1_S))
|
|
#define RMT_MEM_RADDR_EX_CH1_V 0x1FF
|
|
#define RMT_MEM_RADDR_EX_CH1_S 0
|
|
|
|
#define RMT_CH2STATUS_REG (DR_REG_RMT_BASE + 0x0030)
|
|
/* RMT_APB_MEM_RD_ERR_CH2 : RO ;bitpos:[27] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RD_ERR_CH2 (BIT(27))
|
|
#define RMT_APB_MEM_RD_ERR_CH2_M (BIT(27))
|
|
#define RMT_APB_MEM_RD_ERR_CH2_V 0x1
|
|
#define RMT_APB_MEM_RD_ERR_CH2_S 27
|
|
/* RMT_MEM_FULL_CH2 : RO ;bitpos:[26] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_FULL_CH2 (BIT(26))
|
|
#define RMT_MEM_FULL_CH2_M (BIT(26))
|
|
#define RMT_MEM_FULL_CH2_V 0x1
|
|
#define RMT_MEM_FULL_CH2_S 26
|
|
/* RMT_MEM_OWNER_ERR_CH2 : RO ;bitpos:[25] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_OWNER_ERR_CH2 (BIT(25))
|
|
#define RMT_MEM_OWNER_ERR_CH2_M (BIT(25))
|
|
#define RMT_MEM_OWNER_ERR_CH2_V 0x1
|
|
#define RMT_MEM_OWNER_ERR_CH2_S 25
|
|
/* RMT_STATE_CH2 : RO ;bitpos:[24:22] ;default: 3'b0 ; */
|
|
/*description: */
|
|
#define RMT_STATE_CH2 0x00000007
|
|
#define RMT_STATE_CH2_M ((RMT_STATE_CH2_V)<<(RMT_STATE_CH2_S))
|
|
#define RMT_STATE_CH2_V 0x7
|
|
#define RMT_STATE_CH2_S 22
|
|
/* RMT_APB_MEM_RADDR_CH2 : RO ;bitpos:[20:12] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RADDR_CH2 0x000001FF
|
|
#define RMT_APB_MEM_RADDR_CH2_M ((RMT_APB_MEM_RADDR_CH2_V)<<(RMT_APB_MEM_RADDR_CH2_S))
|
|
#define RMT_APB_MEM_RADDR_CH2_V 0x1FF
|
|
#define RMT_APB_MEM_RADDR_CH2_S 12
|
|
/* RMT_MEM_WADDR_EX_CH2 : RO ;bitpos:[8:0] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_WADDR_EX_CH2 0x000001FF
|
|
#define RMT_MEM_WADDR_EX_CH2_M ((RMT_MEM_WADDR_EX_CH2_V)<<(RMT_MEM_WADDR_EX_CH2_S))
|
|
#define RMT_MEM_WADDR_EX_CH2_V 0x1FF
|
|
#define RMT_MEM_WADDR_EX_CH2_S 0
|
|
|
|
#define RMT_CH3STATUS_REG (DR_REG_RMT_BASE + 0x0034)
|
|
/* RMT_APB_MEM_RD_ERR_CH3 : RO ;bitpos:[27] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RD_ERR_CH3 (BIT(27))
|
|
#define RMT_APB_MEM_RD_ERR_CH3_M (BIT(27))
|
|
#define RMT_APB_MEM_RD_ERR_CH3_V 0x1
|
|
#define RMT_APB_MEM_RD_ERR_CH3_S 27
|
|
/* RMT_MEM_FULL_CH3 : RO ;bitpos:[26] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_FULL_CH3 (BIT(26))
|
|
#define RMT_MEM_FULL_CH3_M (BIT(26))
|
|
#define RMT_MEM_FULL_CH3_V 0x1
|
|
#define RMT_MEM_FULL_CH3_S 26
|
|
/* RMT_MEM_OWNER_ERR_CH3 : RO ;bitpos:[25] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_OWNER_ERR_CH3 (BIT(25))
|
|
#define RMT_MEM_OWNER_ERR_CH3_M (BIT(25))
|
|
#define RMT_MEM_OWNER_ERR_CH3_V 0x1
|
|
#define RMT_MEM_OWNER_ERR_CH3_S 25
|
|
/* RMT_STATE_CH3 : RO ;bitpos:[24:22] ;default: 3'b0 ; */
|
|
/*description: */
|
|
#define RMT_STATE_CH3 0x00000007
|
|
#define RMT_STATE_CH3_M ((RMT_STATE_CH3_V)<<(RMT_STATE_CH3_S))
|
|
#define RMT_STATE_CH3_V 0x7
|
|
#define RMT_STATE_CH3_S 22
|
|
/* RMT_APB_MEM_RADDR_CH3 : RO ;bitpos:[20:12] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_APB_MEM_RADDR_CH3 0x000001FF
|
|
#define RMT_APB_MEM_RADDR_CH3_M ((RMT_APB_MEM_RADDR_CH3_V)<<(RMT_APB_MEM_RADDR_CH3_S))
|
|
#define RMT_APB_MEM_RADDR_CH3_V 0x1FF
|
|
#define RMT_APB_MEM_RADDR_CH3_S 12
|
|
/* RMT_MEM_WADDR_EX_CH3 : RO ;bitpos:[8:0] ;default: 9'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_WADDR_EX_CH3 0x000001FF
|
|
#define RMT_MEM_WADDR_EX_CH3_M ((RMT_MEM_WADDR_EX_CH3_V)<<(RMT_MEM_WADDR_EX_CH3_S))
|
|
#define RMT_MEM_WADDR_EX_CH3_V 0x1FF
|
|
#define RMT_MEM_WADDR_EX_CH3_S 0
|
|
|
|
#define RMT_INT_RAW_REG (DR_REG_RMT_BASE + 0x0038)
|
|
/* RMT_CH1_TX_LOOP_INT_RAW : R/WTC/SS ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_LOOP_INT_RAW (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_RAW_M (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_RAW_V 0x1
|
|
#define RMT_CH1_TX_LOOP_INT_RAW_S 13
|
|
/* RMT_CH0_TX_LOOP_INT_RAW : R/WTC/SS ;bitpos:[12] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_LOOP_INT_RAW (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_RAW_M (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_RAW_V 0x1
|
|
#define RMT_CH0_TX_LOOP_INT_RAW_S 12
|
|
/* RMT_CH3_RX_THR_EVENT_INT_RAW : R/WTC/SS ;bitpos:[11] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_THR_EVENT_INT_RAW (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_RAW_M (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_RAW_V 0x1
|
|
#define RMT_CH3_RX_THR_EVENT_INT_RAW_S 11
|
|
/* RMT_CH2_RX_THR_EVENT_INT_RAW : R/WTC/SS ;bitpos:[10] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_THR_EVENT_INT_RAW (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_RAW_M (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_RAW_V 0x1
|
|
#define RMT_CH2_RX_THR_EVENT_INT_RAW_S 10
|
|
/* RMT_CH1_TX_THR_EVENT_INT_RAW : R/WTC/SS ;bitpos:[9] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_THR_EVENT_INT_RAW (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_RAW_M (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_RAW_V 0x1
|
|
#define RMT_CH1_TX_THR_EVENT_INT_RAW_S 9
|
|
/* RMT_CH0_TX_THR_EVENT_INT_RAW : R/WTC/SS ;bitpos:[8] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_THR_EVENT_INT_RAW (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_RAW_M (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_RAW_V 0x1
|
|
#define RMT_CH0_TX_THR_EVENT_INT_RAW_S 8
|
|
/* RMT_CH3_ERR_INT_RAW : R/WTC/SS ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_ERR_INT_RAW (BIT(7))
|
|
#define RMT_CH3_ERR_INT_RAW_M (BIT(7))
|
|
#define RMT_CH3_ERR_INT_RAW_V 0x1
|
|
#define RMT_CH3_ERR_INT_RAW_S 7
|
|
/* RMT_CH2_ERR_INT_RAW : R/WTC/SS ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_ERR_INT_RAW (BIT(6))
|
|
#define RMT_CH2_ERR_INT_RAW_M (BIT(6))
|
|
#define RMT_CH2_ERR_INT_RAW_V 0x1
|
|
#define RMT_CH2_ERR_INT_RAW_S 6
|
|
/* RMT_CH1_ERR_INT_RAW : R/WTC/SS ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_ERR_INT_RAW (BIT(5))
|
|
#define RMT_CH1_ERR_INT_RAW_M (BIT(5))
|
|
#define RMT_CH1_ERR_INT_RAW_V 0x1
|
|
#define RMT_CH1_ERR_INT_RAW_S 5
|
|
/* RMT_CH0_ERR_INT_RAW : R/WTC/SS ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_ERR_INT_RAW (BIT(4))
|
|
#define RMT_CH0_ERR_INT_RAW_M (BIT(4))
|
|
#define RMT_CH0_ERR_INT_RAW_V 0x1
|
|
#define RMT_CH0_ERR_INT_RAW_S 4
|
|
/* RMT_CH3_RX_END_INT_RAW : R/WTC/SS ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_END_INT_RAW (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_RAW_M (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_RAW_V 0x1
|
|
#define RMT_CH3_RX_END_INT_RAW_S 3
|
|
/* RMT_CH2_RX_END_INT_RAW : R/WTC/SS ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_END_INT_RAW (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_RAW_M (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_RAW_V 0x1
|
|
#define RMT_CH2_RX_END_INT_RAW_S 2
|
|
/* RMT_CH1_TX_END_INT_RAW : R/WTC/SS ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_END_INT_RAW (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_RAW_M (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_RAW_V 0x1
|
|
#define RMT_CH1_TX_END_INT_RAW_S 1
|
|
/* RMT_CH0_TX_END_INT_RAW : R/WTC/SS ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_END_INT_RAW (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_RAW_M (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_RAW_V 0x1
|
|
#define RMT_CH0_TX_END_INT_RAW_S 0
|
|
|
|
#define RMT_INT_ST_REG (DR_REG_RMT_BASE + 0x003c)
|
|
/* RMT_CH1_TX_LOOP_INT_ST : RO ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_LOOP_INT_ST (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_ST_M (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_ST_V 0x1
|
|
#define RMT_CH1_TX_LOOP_INT_ST_S 13
|
|
/* RMT_CH0_TX_LOOP_INT_ST : RO ;bitpos:[12] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_LOOP_INT_ST (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_ST_M (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_ST_V 0x1
|
|
#define RMT_CH0_TX_LOOP_INT_ST_S 12
|
|
/* RMT_CH3_RX_THR_EVENT_INT_ST : RO ;bitpos:[11] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ST (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ST_M (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ST_V 0x1
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ST_S 11
|
|
/* RMT_CH2_RX_THR_EVENT_INT_ST : RO ;bitpos:[10] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ST (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ST_M (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ST_V 0x1
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ST_S 10
|
|
/* RMT_CH1_TX_THR_EVENT_INT_ST : RO ;bitpos:[9] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ST (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ST_M (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ST_V 0x1
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ST_S 9
|
|
/* RMT_CH0_TX_THR_EVENT_INT_ST : RO ;bitpos:[8] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ST (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ST_M (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ST_V 0x1
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ST_S 8
|
|
/* RMT_CH3_ERR_INT_ST : RO ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_ERR_INT_ST (BIT(7))
|
|
#define RMT_CH3_ERR_INT_ST_M (BIT(7))
|
|
#define RMT_CH3_ERR_INT_ST_V 0x1
|
|
#define RMT_CH3_ERR_INT_ST_S 7
|
|
/* RMT_CH2_ERR_INT_ST : RO ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_ERR_INT_ST (BIT(6))
|
|
#define RMT_CH2_ERR_INT_ST_M (BIT(6))
|
|
#define RMT_CH2_ERR_INT_ST_V 0x1
|
|
#define RMT_CH2_ERR_INT_ST_S 6
|
|
/* RMT_CH1_ERR_INT_ST : RO ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_ERR_INT_ST (BIT(5))
|
|
#define RMT_CH1_ERR_INT_ST_M (BIT(5))
|
|
#define RMT_CH1_ERR_INT_ST_V 0x1
|
|
#define RMT_CH1_ERR_INT_ST_S 5
|
|
/* RMT_CH0_ERR_INT_ST : RO ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_ERR_INT_ST (BIT(4))
|
|
#define RMT_CH0_ERR_INT_ST_M (BIT(4))
|
|
#define RMT_CH0_ERR_INT_ST_V 0x1
|
|
#define RMT_CH0_ERR_INT_ST_S 4
|
|
/* RMT_CH3_RX_END_INT_ST : RO ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_END_INT_ST (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_ST_M (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_ST_V 0x1
|
|
#define RMT_CH3_RX_END_INT_ST_S 3
|
|
/* RMT_CH2_RX_END_INT_ST : RO ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_END_INT_ST (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_ST_M (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_ST_V 0x1
|
|
#define RMT_CH2_RX_END_INT_ST_S 2
|
|
/* RMT_CH1_TX_END_INT_ST : RO ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_END_INT_ST (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_ST_M (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_ST_V 0x1
|
|
#define RMT_CH1_TX_END_INT_ST_S 1
|
|
/* RMT_CH0_TX_END_INT_ST : RO ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_END_INT_ST (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_ST_M (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_ST_V 0x1
|
|
#define RMT_CH0_TX_END_INT_ST_S 0
|
|
|
|
#define RMT_INT_ENA_REG (DR_REG_RMT_BASE + 0x0040)
|
|
/* RMT_CH1_TX_LOOP_INT_ENA : R/W ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_LOOP_INT_ENA (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_ENA_M (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_ENA_V 0x1
|
|
#define RMT_CH1_TX_LOOP_INT_ENA_S 13
|
|
/* RMT_CH0_TX_LOOP_INT_ENA : R/W ;bitpos:[12] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_LOOP_INT_ENA (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_ENA_M (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_ENA_V 0x1
|
|
#define RMT_CH0_TX_LOOP_INT_ENA_S 12
|
|
/* RMT_CH3_RX_THR_EVENT_INT_ENA : R/W ;bitpos:[11] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ENA (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ENA_M (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ENA_V 0x1
|
|
#define RMT_CH3_RX_THR_EVENT_INT_ENA_S 11
|
|
/* RMT_CH2_RX_THR_EVENT_INT_ENA : R/W ;bitpos:[10] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ENA (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ENA_M (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ENA_V 0x1
|
|
#define RMT_CH2_RX_THR_EVENT_INT_ENA_S 10
|
|
/* RMT_CH1_TX_THR_EVENT_INT_ENA : R/W ;bitpos:[9] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ENA (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ENA_M (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ENA_V 0x1
|
|
#define RMT_CH1_TX_THR_EVENT_INT_ENA_S 9
|
|
/* RMT_CH0_TX_THR_EVENT_INT_ENA : R/W ;bitpos:[8] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ENA (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ENA_M (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ENA_V 0x1
|
|
#define RMT_CH0_TX_THR_EVENT_INT_ENA_S 8
|
|
/* RMT_CH3_ERR_INT_ENA : R/W ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_ERR_INT_ENA (BIT(7))
|
|
#define RMT_CH3_ERR_INT_ENA_M (BIT(7))
|
|
#define RMT_CH3_ERR_INT_ENA_V 0x1
|
|
#define RMT_CH3_ERR_INT_ENA_S 7
|
|
/* RMT_CH2_ERR_INT_ENA : R/W ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_ERR_INT_ENA (BIT(6))
|
|
#define RMT_CH2_ERR_INT_ENA_M (BIT(6))
|
|
#define RMT_CH2_ERR_INT_ENA_V 0x1
|
|
#define RMT_CH2_ERR_INT_ENA_S 6
|
|
/* RMT_CH1_ERR_INT_ENA : R/W ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_ERR_INT_ENA (BIT(5))
|
|
#define RMT_CH1_ERR_INT_ENA_M (BIT(5))
|
|
#define RMT_CH1_ERR_INT_ENA_V 0x1
|
|
#define RMT_CH1_ERR_INT_ENA_S 5
|
|
/* RMT_CH0_ERR_INT_ENA : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_ERR_INT_ENA (BIT(4))
|
|
#define RMT_CH0_ERR_INT_ENA_M (BIT(4))
|
|
#define RMT_CH0_ERR_INT_ENA_V 0x1
|
|
#define RMT_CH0_ERR_INT_ENA_S 4
|
|
/* RMT_CH3_RX_END_INT_ENA : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_END_INT_ENA (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_ENA_M (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_ENA_V 0x1
|
|
#define RMT_CH3_RX_END_INT_ENA_S 3
|
|
/* RMT_CH2_RX_END_INT_ENA : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_END_INT_ENA (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_ENA_M (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_ENA_V 0x1
|
|
#define RMT_CH2_RX_END_INT_ENA_S 2
|
|
/* RMT_CH1_TX_END_INT_ENA : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_END_INT_ENA (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_ENA_M (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_ENA_V 0x1
|
|
#define RMT_CH1_TX_END_INT_ENA_S 1
|
|
/* RMT_CH0_TX_END_INT_ENA : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_END_INT_ENA (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_ENA_M (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_ENA_V 0x1
|
|
#define RMT_CH0_TX_END_INT_ENA_S 0
|
|
|
|
#define RMT_INT_CLR_REG (DR_REG_RMT_BASE + 0x0044)
|
|
/* RMT_CH1_TX_LOOP_INT_CLR : WT ;bitpos:[13] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_LOOP_INT_CLR (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_CLR_M (BIT(13))
|
|
#define RMT_CH1_TX_LOOP_INT_CLR_V 0x1
|
|
#define RMT_CH1_TX_LOOP_INT_CLR_S 13
|
|
/* RMT_CH0_TX_LOOP_INT_CLR : WT ;bitpos:[12] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_LOOP_INT_CLR (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_CLR_M (BIT(12))
|
|
#define RMT_CH0_TX_LOOP_INT_CLR_V 0x1
|
|
#define RMT_CH0_TX_LOOP_INT_CLR_S 12
|
|
/* RMT_CH3_RX_THR_EVENT_INT_CLR : WT ;bitpos:[11] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_THR_EVENT_INT_CLR (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_CLR_M (BIT(11))
|
|
#define RMT_CH3_RX_THR_EVENT_INT_CLR_V 0x1
|
|
#define RMT_CH3_RX_THR_EVENT_INT_CLR_S 11
|
|
/* RMT_CH2_RX_THR_EVENT_INT_CLR : WT ;bitpos:[10] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_THR_EVENT_INT_CLR (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_CLR_M (BIT(10))
|
|
#define RMT_CH2_RX_THR_EVENT_INT_CLR_V 0x1
|
|
#define RMT_CH2_RX_THR_EVENT_INT_CLR_S 10
|
|
/* RMT_CH1_TX_THR_EVENT_INT_CLR : WT ;bitpos:[9] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_THR_EVENT_INT_CLR (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_CLR_M (BIT(9))
|
|
#define RMT_CH1_TX_THR_EVENT_INT_CLR_V 0x1
|
|
#define RMT_CH1_TX_THR_EVENT_INT_CLR_S 9
|
|
/* RMT_CH0_TX_THR_EVENT_INT_CLR : WT ;bitpos:[8] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_THR_EVENT_INT_CLR (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_CLR_M (BIT(8))
|
|
#define RMT_CH0_TX_THR_EVENT_INT_CLR_V 0x1
|
|
#define RMT_CH0_TX_THR_EVENT_INT_CLR_S 8
|
|
/* RMT_CH3_ERR_INT_CLR : WT ;bitpos:[7] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_ERR_INT_CLR (BIT(7))
|
|
#define RMT_CH3_ERR_INT_CLR_M (BIT(7))
|
|
#define RMT_CH3_ERR_INT_CLR_V 0x1
|
|
#define RMT_CH3_ERR_INT_CLR_S 7
|
|
/* RMT_CH2_ERR_INT_CLR : WT ;bitpos:[6] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_ERR_INT_CLR (BIT(6))
|
|
#define RMT_CH2_ERR_INT_CLR_M (BIT(6))
|
|
#define RMT_CH2_ERR_INT_CLR_V 0x1
|
|
#define RMT_CH2_ERR_INT_CLR_S 6
|
|
/* RMT_CH1_ERR_INT_CLR : WT ;bitpos:[5] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_ERR_INT_CLR (BIT(5))
|
|
#define RMT_CH1_ERR_INT_CLR_M (BIT(5))
|
|
#define RMT_CH1_ERR_INT_CLR_V 0x1
|
|
#define RMT_CH1_ERR_INT_CLR_S 5
|
|
/* RMT_CH0_ERR_INT_CLR : WT ;bitpos:[4] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_ERR_INT_CLR (BIT(4))
|
|
#define RMT_CH0_ERR_INT_CLR_M (BIT(4))
|
|
#define RMT_CH0_ERR_INT_CLR_V 0x1
|
|
#define RMT_CH0_ERR_INT_CLR_S 4
|
|
/* RMT_CH3_RX_END_INT_CLR : WT ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH3_RX_END_INT_CLR (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_CLR_M (BIT(3))
|
|
#define RMT_CH3_RX_END_INT_CLR_V 0x1
|
|
#define RMT_CH3_RX_END_INT_CLR_S 3
|
|
/* RMT_CH2_RX_END_INT_CLR : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH2_RX_END_INT_CLR (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_CLR_M (BIT(2))
|
|
#define RMT_CH2_RX_END_INT_CLR_V 0x1
|
|
#define RMT_CH2_RX_END_INT_CLR_S 2
|
|
/* RMT_CH1_TX_END_INT_CLR : WT ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH1_TX_END_INT_CLR (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_CLR_M (BIT(1))
|
|
#define RMT_CH1_TX_END_INT_CLR_V 0x1
|
|
#define RMT_CH1_TX_END_INT_CLR_S 1
|
|
/* RMT_CH0_TX_END_INT_CLR : WT ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_CH0_TX_END_INT_CLR (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_CLR_M (BIT(0))
|
|
#define RMT_CH0_TX_END_INT_CLR_V 0x1
|
|
#define RMT_CH0_TX_END_INT_CLR_S 0
|
|
|
|
#define RMT_CH0CARRIER_DUTY_REG (DR_REG_RMT_BASE + 0x0048)
|
|
/* RMT_CARRIER_HIGH_CH0 : R/W ;bitpos:[31:16] ;default: 16'h40 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_HIGH_CH0 0x0000FFFF
|
|
#define RMT_CARRIER_HIGH_CH0_M ((RMT_CARRIER_HIGH_CH0_V)<<(RMT_CARRIER_HIGH_CH0_S))
|
|
#define RMT_CARRIER_HIGH_CH0_V 0xFFFF
|
|
#define RMT_CARRIER_HIGH_CH0_S 16
|
|
/* RMT_CARRIER_LOW_CH0 : R/W ;bitpos:[15:0] ;default: 16'h40 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_LOW_CH0 0x0000FFFF
|
|
#define RMT_CARRIER_LOW_CH0_M ((RMT_CARRIER_LOW_CH0_V)<<(RMT_CARRIER_LOW_CH0_S))
|
|
#define RMT_CARRIER_LOW_CH0_V 0xFFFF
|
|
#define RMT_CARRIER_LOW_CH0_S 0
|
|
|
|
#define RMT_CH1CARRIER_DUTY_REG (DR_REG_RMT_BASE + 0x004c)
|
|
/* RMT_CARRIER_HIGH_CH1 : R/W ;bitpos:[31:16] ;default: 16'h40 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_HIGH_CH1 0x0000FFFF
|
|
#define RMT_CARRIER_HIGH_CH1_M ((RMT_CARRIER_HIGH_CH1_V)<<(RMT_CARRIER_HIGH_CH1_S))
|
|
#define RMT_CARRIER_HIGH_CH1_V 0xFFFF
|
|
#define RMT_CARRIER_HIGH_CH1_S 16
|
|
/* RMT_CARRIER_LOW_CH1 : R/W ;bitpos:[15:0] ;default: 16'h40 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_LOW_CH1 0x0000FFFF
|
|
#define RMT_CARRIER_LOW_CH1_M ((RMT_CARRIER_LOW_CH1_V)<<(RMT_CARRIER_LOW_CH1_S))
|
|
#define RMT_CARRIER_LOW_CH1_V 0xFFFF
|
|
#define RMT_CARRIER_LOW_CH1_S 0
|
|
|
|
#define RMT_CH2_RX_CARRIER_RM_REG (DR_REG_RMT_BASE + 0x0050)
|
|
/* RMT_CARRIER_HIGH_THRES_CH2 : R/W ;bitpos:[31:16] ;default: 16'h0 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_HIGH_THRES_CH2 0x0000FFFF
|
|
#define RMT_CARRIER_HIGH_THRES_CH2_M ((RMT_CARRIER_HIGH_THRES_CH2_V)<<(RMT_CARRIER_HIGH_THRES_CH2_S))
|
|
#define RMT_CARRIER_HIGH_THRES_CH2_V 0xFFFF
|
|
#define RMT_CARRIER_HIGH_THRES_CH2_S 16
|
|
/* RMT_CARRIER_LOW_THRES_CH2 : R/W ;bitpos:[15:0] ;default: 16'h0 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_LOW_THRES_CH2 0x0000FFFF
|
|
#define RMT_CARRIER_LOW_THRES_CH2_M ((RMT_CARRIER_LOW_THRES_CH2_V)<<(RMT_CARRIER_LOW_THRES_CH2_S))
|
|
#define RMT_CARRIER_LOW_THRES_CH2_V 0xFFFF
|
|
#define RMT_CARRIER_LOW_THRES_CH2_S 0
|
|
|
|
#define RMT_CH3_RX_CARRIER_RM_REG (DR_REG_RMT_BASE + 0x0054)
|
|
/* RMT_CARRIER_HIGH_THRES_CH3 : R/W ;bitpos:[31:16] ;default: 16'h0 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_HIGH_THRES_CH3 0x0000FFFF
|
|
#define RMT_CARRIER_HIGH_THRES_CH3_M ((RMT_CARRIER_HIGH_THRES_CH3_V)<<(RMT_CARRIER_HIGH_THRES_CH3_S))
|
|
#define RMT_CARRIER_HIGH_THRES_CH3_V 0xFFFF
|
|
#define RMT_CARRIER_HIGH_THRES_CH3_S 16
|
|
/* RMT_CARRIER_LOW_THRES_CH3 : R/W ;bitpos:[15:0] ;default: 16'h0 ; */
|
|
/*description: */
|
|
#define RMT_CARRIER_LOW_THRES_CH3 0x0000FFFF
|
|
#define RMT_CARRIER_LOW_THRES_CH3_M ((RMT_CARRIER_LOW_THRES_CH3_V)<<(RMT_CARRIER_LOW_THRES_CH3_S))
|
|
#define RMT_CARRIER_LOW_THRES_CH3_V 0xFFFF
|
|
#define RMT_CARRIER_LOW_THRES_CH3_S 0
|
|
|
|
#define RMT_CH0_TX_LIM_REG (DR_REG_RMT_BASE + 0x0058)
|
|
/* RMT_LOOP_COUNT_RESET_CH0 : WT ;bitpos:[20] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_LOOP_COUNT_RESET_CH0 (BIT(20))
|
|
#define RMT_LOOP_COUNT_RESET_CH0_M (BIT(20))
|
|
#define RMT_LOOP_COUNT_RESET_CH0_V 0x1
|
|
#define RMT_LOOP_COUNT_RESET_CH0_S 20
|
|
/* RMT_TX_LOOP_CNT_EN_CH0 : R/W ;bitpos:[19] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_LOOP_CNT_EN_CH0 (BIT(19))
|
|
#define RMT_TX_LOOP_CNT_EN_CH0_M (BIT(19))
|
|
#define RMT_TX_LOOP_CNT_EN_CH0_V 0x1
|
|
#define RMT_TX_LOOP_CNT_EN_CH0_S 19
|
|
/* RMT_TX_LOOP_NUM_CH0 : R/W ;bitpos:[18:9] ;default: 10'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_LOOP_NUM_CH0 0x000003FF
|
|
#define RMT_TX_LOOP_NUM_CH0_M ((RMT_TX_LOOP_NUM_CH0_V)<<(RMT_TX_LOOP_NUM_CH0_S))
|
|
#define RMT_TX_LOOP_NUM_CH0_V 0x3FF
|
|
#define RMT_TX_LOOP_NUM_CH0_S 9
|
|
/* RMT_TX_LIM_CH0 : R/W ;bitpos:[8:0] ;default: 9'h80 ; */
|
|
/*description: */
|
|
#define RMT_TX_LIM_CH0 0x000001FF
|
|
#define RMT_TX_LIM_CH0_M ((RMT_TX_LIM_CH0_V)<<(RMT_TX_LIM_CH0_S))
|
|
#define RMT_TX_LIM_CH0_V 0x1FF
|
|
#define RMT_TX_LIM_CH0_S 0
|
|
|
|
#define RMT_CH1_TX_LIM_REG (DR_REG_RMT_BASE + 0x005c)
|
|
/* RMT_LOOP_COUNT_RESET_CH1 : WT ;bitpos:[20] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_LOOP_COUNT_RESET_CH1 (BIT(20))
|
|
#define RMT_LOOP_COUNT_RESET_CH1_M (BIT(20))
|
|
#define RMT_LOOP_COUNT_RESET_CH1_V 0x1
|
|
#define RMT_LOOP_COUNT_RESET_CH1_S 20
|
|
/* RMT_TX_LOOP_CNT_EN_CH1 : R/W ;bitpos:[19] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_LOOP_CNT_EN_CH1 (BIT(19))
|
|
#define RMT_TX_LOOP_CNT_EN_CH1_M (BIT(19))
|
|
#define RMT_TX_LOOP_CNT_EN_CH1_V 0x1
|
|
#define RMT_TX_LOOP_CNT_EN_CH1_S 19
|
|
/* RMT_TX_LOOP_NUM_CH1 : R/W ;bitpos:[18:9] ;default: 10'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_LOOP_NUM_CH1 0x000003FF
|
|
#define RMT_TX_LOOP_NUM_CH1_M ((RMT_TX_LOOP_NUM_CH1_V)<<(RMT_TX_LOOP_NUM_CH1_S))
|
|
#define RMT_TX_LOOP_NUM_CH1_V 0x3FF
|
|
#define RMT_TX_LOOP_NUM_CH1_S 9
|
|
/* RMT_TX_LIM_CH1 : R/W ;bitpos:[8:0] ;default: 9'h80 ; */
|
|
/*description: */
|
|
#define RMT_TX_LIM_CH1 0x000001FF
|
|
#define RMT_TX_LIM_CH1_M ((RMT_TX_LIM_CH1_V)<<(RMT_TX_LIM_CH1_S))
|
|
#define RMT_TX_LIM_CH1_V 0x1FF
|
|
#define RMT_TX_LIM_CH1_S 0
|
|
|
|
#define RMT_CH2_RX_LIM_REG (DR_REG_RMT_BASE + 0x0060)
|
|
/* RMT_RX_LIM_CH2 : R/W ;bitpos:[8:0] ;default: 9'h80 ; */
|
|
/*description: */
|
|
#define RMT_RX_LIM_CH2 0x000001FF
|
|
#define RMT_RX_LIM_CH2_M ((RMT_RX_LIM_CH2_V)<<(RMT_RX_LIM_CH2_S))
|
|
#define RMT_RX_LIM_CH2_V 0x1FF
|
|
#define RMT_RX_LIM_CH2_S 0
|
|
|
|
#define RMT_CH3_RX_LIM_REG (DR_REG_RMT_BASE + 0x0064)
|
|
/* RMT_RX_LIM_CH3 : R/W ;bitpos:[8:0] ;default: 9'h80 ; */
|
|
/*description: */
|
|
#define RMT_RX_LIM_CH3 0x000001FF
|
|
#define RMT_RX_LIM_CH3_M ((RMT_RX_LIM_CH3_V)<<(RMT_RX_LIM_CH3_S))
|
|
#define RMT_RX_LIM_CH3_V 0x1FF
|
|
#define RMT_RX_LIM_CH3_S 0
|
|
|
|
#define RMT_SYS_CONF_REG (DR_REG_RMT_BASE + 0x0068)
|
|
/* RMT_CLK_EN : R/W ;bitpos:[31] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_CLK_EN (BIT(31))
|
|
#define RMT_CLK_EN_M (BIT(31))
|
|
#define RMT_CLK_EN_V 0x1
|
|
#define RMT_CLK_EN_S 31
|
|
/* RMT_SCLK_ACTIVE : R/W ;bitpos:[26] ;default: 1'h1 ; */
|
|
/*description: */
|
|
#define RMT_SCLK_ACTIVE (BIT(26))
|
|
#define RMT_SCLK_ACTIVE_M (BIT(26))
|
|
#define RMT_SCLK_ACTIVE_V 0x1
|
|
#define RMT_SCLK_ACTIVE_S 26
|
|
/* RMT_SCLK_SEL : R/W ;bitpos:[25:24] ;default: 2'h1 ; */
|
|
/*description: */
|
|
#define RMT_SCLK_SEL 0x00000003
|
|
#define RMT_SCLK_SEL_M ((RMT_SCLK_SEL_V)<<(RMT_SCLK_SEL_S))
|
|
#define RMT_SCLK_SEL_V 0x3
|
|
#define RMT_SCLK_SEL_S 24
|
|
/* RMT_SCLK_DIV_B : R/W ;bitpos:[23:18] ;default: 6'h0 ; */
|
|
/*description: */
|
|
#define RMT_SCLK_DIV_B 0x0000003F
|
|
#define RMT_SCLK_DIV_B_M ((RMT_SCLK_DIV_B_V)<<(RMT_SCLK_DIV_B_S))
|
|
#define RMT_SCLK_DIV_B_V 0x3F
|
|
#define RMT_SCLK_DIV_B_S 18
|
|
/* RMT_SCLK_DIV_A : R/W ;bitpos:[17:12] ;default: 6'h0 ; */
|
|
/*description: */
|
|
#define RMT_SCLK_DIV_A 0x0000003F
|
|
#define RMT_SCLK_DIV_A_M ((RMT_SCLK_DIV_A_V)<<(RMT_SCLK_DIV_A_S))
|
|
#define RMT_SCLK_DIV_A_V 0x3F
|
|
#define RMT_SCLK_DIV_A_S 12
|
|
/* RMT_SCLK_DIV_NUM : R/W ;bitpos:[11:4] ;default: 8'h1 ; */
|
|
/*description: */
|
|
#define RMT_SCLK_DIV_NUM 0x000000FF
|
|
#define RMT_SCLK_DIV_NUM_M ((RMT_SCLK_DIV_NUM_V)<<(RMT_SCLK_DIV_NUM_S))
|
|
#define RMT_SCLK_DIV_NUM_V 0xFF
|
|
#define RMT_SCLK_DIV_NUM_S 4
|
|
/* RMT_MEM_FORCE_PU : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_FORCE_PU (BIT(3))
|
|
#define RMT_MEM_FORCE_PU_M (BIT(3))
|
|
#define RMT_MEM_FORCE_PU_V 0x1
|
|
#define RMT_MEM_FORCE_PU_S 3
|
|
/* RMT_MEM_FORCE_PD : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_FORCE_PD (BIT(2))
|
|
#define RMT_MEM_FORCE_PD_M (BIT(2))
|
|
#define RMT_MEM_FORCE_PD_V 0x1
|
|
#define RMT_MEM_FORCE_PD_S 2
|
|
/* RMT_MEM_CLK_FORCE_ON : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_MEM_CLK_FORCE_ON (BIT(1))
|
|
#define RMT_MEM_CLK_FORCE_ON_M (BIT(1))
|
|
#define RMT_MEM_CLK_FORCE_ON_V 0x1
|
|
#define RMT_MEM_CLK_FORCE_ON_S 1
|
|
/* RMT_APB_FIFO_MASK : R/W ;bitpos:[0] ;default: 1'h0 ; */
|
|
/*description: */
|
|
#define RMT_APB_FIFO_MASK (BIT(0))
|
|
#define RMT_APB_FIFO_MASK_M (BIT(0))
|
|
#define RMT_APB_FIFO_MASK_V 0x1
|
|
#define RMT_APB_FIFO_MASK_S 0
|
|
|
|
#define RMT_TX_SIM_REG (DR_REG_RMT_BASE + 0x006c)
|
|
/* RMT_TX_SIM_EN : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_SIM_EN (BIT(2))
|
|
#define RMT_TX_SIM_EN_M (BIT(2))
|
|
#define RMT_TX_SIM_EN_V 0x1
|
|
#define RMT_TX_SIM_EN_S 2
|
|
/* RMT_TX_SIM_CH1 : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_SIM_CH1 (BIT(1))
|
|
#define RMT_TX_SIM_CH1_M (BIT(1))
|
|
#define RMT_TX_SIM_CH1_V 0x1
|
|
#define RMT_TX_SIM_CH1_S 1
|
|
/* RMT_TX_SIM_CH0 : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_TX_SIM_CH0 (BIT(0))
|
|
#define RMT_TX_SIM_CH0_M (BIT(0))
|
|
#define RMT_TX_SIM_CH0_V 0x1
|
|
#define RMT_TX_SIM_CH0_S 0
|
|
|
|
#define RMT_REF_CNT_RST_REG (DR_REG_RMT_BASE + 0x0070)
|
|
/* RMT_REF_CNT_RST_CH3 : WT ;bitpos:[3] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_REF_CNT_RST_CH3 (BIT(3))
|
|
#define RMT_REF_CNT_RST_CH3_M (BIT(3))
|
|
#define RMT_REF_CNT_RST_CH3_V 0x1
|
|
#define RMT_REF_CNT_RST_CH3_S 3
|
|
/* RMT_REF_CNT_RST_CH2 : WT ;bitpos:[2] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_REF_CNT_RST_CH2 (BIT(2))
|
|
#define RMT_REF_CNT_RST_CH2_M (BIT(2))
|
|
#define RMT_REF_CNT_RST_CH2_V 0x1
|
|
#define RMT_REF_CNT_RST_CH2_S 2
|
|
/* RMT_REF_CNT_RST_CH1 : WT ;bitpos:[1] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_REF_CNT_RST_CH1 (BIT(1))
|
|
#define RMT_REF_CNT_RST_CH1_M (BIT(1))
|
|
#define RMT_REF_CNT_RST_CH1_V 0x1
|
|
#define RMT_REF_CNT_RST_CH1_S 1
|
|
/* RMT_REF_CNT_RST_CH0 : WT ;bitpos:[0] ;default: 1'b0 ; */
|
|
/*description: */
|
|
#define RMT_REF_CNT_RST_CH0 (BIT(0))
|
|
#define RMT_REF_CNT_RST_CH0_M (BIT(0))
|
|
#define RMT_REF_CNT_RST_CH0_V 0x1
|
|
#define RMT_REF_CNT_RST_CH0_S 0
|
|
|
|
#define RMT_DATE_REG (DR_REG_RMT_BASE + 0x00cc)
|
|
/* RMT_DATE : R/W ;bitpos:[27:0] ;default: 28'h2006231 ; */
|
|
/*description: */
|
|
#define RMT_DATE 0x0FFFFFFF
|
|
#define RMT_DATE_M ((RMT_DATE_V)<<(RMT_DATE_S))
|
|
#define RMT_DATE_V 0xFFFFFFF
|
|
#define RMT_DATE_S 0
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|