// limitations under the License.
#ifndef _SOC_APB_CTRL_STRUCT_H_
#define _SOC_APB_CTRL_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
union {
struct {
volatile uint32_t date; /**/
} apb_ctrl_dev_t;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_APB_CTRL_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_GPIO_SD_STRUCT_H_
#define _SOC_GPIO_SD_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} version;
} gpio_sd_dev_t;
extern gpio_sd_dev_t SIGMADELTA;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_GPIO_SD_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_GPIO_STRUCT_H_
#define _SOC_GPIO_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
uint32_t bt_select; /*NA*/
uint32_t out; /*GPIO0~31 output value*/
} func_out_sel_cfg[40];
} gpio_dev_t;
extern gpio_dev_t GPIO;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_GPIO_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_I2C_STRUCT_H_
#define _SOC_I2C_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} i2c_dev_t;
extern i2c_dev_t I2C0;
extern i2c_dev_t I2C1;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_I2C_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_I2S_STRUCT_H_
#define _SOC_I2S_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
uint32_t reserved_0;
uint32_t reserved_4;
extern i2s_dev_t I2S0;
extern i2s_dev_t I2S1;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_I2S_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_LEDC_STRUCT_H_
#define _SOC_LEDC_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
struct {
struct {
uint32_t date; /*This register represents the version .*/
} ledc_dev_t;
extern ledc_dev_t LEDC;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_LEDC_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_MCPWM_STRUCT_H__
#define _SOC_MCPWM_STRUCT_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} mcpwm_dev_t;
extern mcpwm_dev_t MCPWM0;
extern mcpwm_dev_t MCPWM1;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_MCPWM_STRUCT_H__ */
// limitations under the License.
#ifndef _SOC_PCNT_STRUCT_H_
#define _SOC_PCNT_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
struct{
union {
uint32_t date; /**/
} pcnt_dev_t;
extern pcnt_dev_t PCNT;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_PCNT_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_RMT_STRUCT_H_
#define _SOC_RMT_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
uint32_t data_ch[8]; /*The R/W ram address for channel0-7 by apb fifo access.*/
struct{
} rmt_mem_t;
extern rmt_mem_t RMTMEM;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_RMT_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_RTC_CNTL_STRUCT_H_
#define _SOC_RTC_CNTL_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} date;
} rtc_cntl_dev_t;
extern rtc_cntl_dev_t RTCCNTL;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_RTC_CNTL_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_RTC_IO_STRUCT_H_
#define _SOC_RTC_IO_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} date;
} rtc_io_dev_t;
extern rtc_io_dev_t RTCIO;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_RTC_IO_STRUCT_H_ */
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
uint32_t reserved1: 1;
uint32_t disable_int_on_completion: 1;
_Static_assert(sizeof(sdmmc_dev_t) == 0x804, "invalid size of sdmmc_dev_t structure");
-
+#ifdef __cplusplus
+}
+#endif
#endif //_SOC_SDMMC_STRUCT_H_
// limitations under the License.
#ifndef _SOC_SENS_STRUCT_H_
#define _SOC_SENS_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} sardate;
} sens_dev_t;
extern sens_dev_t SENS;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_SENS_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_SPI_STRUCT_H_
#define _SOC_SPI_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
extern spi_dev_t SPI1;
extern spi_dev_t SPI2;
extern spi_dev_t SPI3;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_SPI_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_SYSCON_STRUCT_H_
#define _SOC_SYSCON_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
union {
struct {
volatile uint32_t date; /**/
} syscon_dev_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_SYSCON_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_TIMG_STRUCT_H_
#define _SOC_TIMG_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
struct{
union {
} timg_dev_t;
extern timg_dev_t TIMERG0;
extern timg_dev_t TIMERG1;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_TIMG_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_UART_STRUCT_H_
#define _SOC_UART_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
extern uart_dev_t UART0;
extern uart_dev_t UART1;
extern uart_dev_t UART2;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_UART_STRUCT_H_ */
// limitations under the License.
#ifndef _SOC_UHCI_STRUCT_H_
#define _SOC_UHCI_STRUCT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef volatile struct {
union {
struct {
} uhci_dev_t;
extern uhci_dev_t UHCI0;
extern uhci_dev_t UHCI1;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SOC_UHCI_STRUCT_H_ */