/**************************************************************************
Данный файл необходим для объявления структур для отображения их в watch
В оригинальном stm32f407xx они объявлены дефайнами, которые не видны в watch. 
Поэтому дополнительно объявлены данные структуры. 
Называются также, как CMSISные, только в нижнем регистре

**************************************************************************/

#include "stm32_matlab_conf.h"



#ifdef TIM1
TIM_TypeDef               *tim1                      = TIM1;
#endif

#ifdef TIM2
TIM_TypeDef               *tim2                      = TIM2;
#endif

#ifdef TIM3
TIM_TypeDef               *tim3                      = TIM3;
#endif

#ifdef TIM4
TIM_TypeDef               *tim4                      = TIM4;
#endif

#ifdef TIM5
TIM_TypeDef               *tim5                      = TIM5;
#endif

#ifdef TIM6
TIM_TypeDef               *tim6                      = TIM6;
#endif

#ifdef TIM7
TIM_TypeDef               *tim7                      = TIM7;
#endif

#ifdef TIM8
TIM_TypeDef               *tim8                      = TIM8;
#endif

#ifdef TIM9
TIM_TypeDef               *tim9                      = TIM9;
#endif

#ifdef TIM10
TIM_TypeDef               *tim10                     = TIM10;
#endif

#ifdef TIM11
TIM_TypeDef               *tim11                     = TIM11;
#endif

#ifdef TIM12
TIM_TypeDef               *tim12                     = TIM12;
#endif

#ifdef TIM13
TIM_TypeDef               *tim13                     = TIM13;
#endif

#ifdef TIM14
TIM_TypeDef               *tim14                     = TIM14;
#endif

#ifdef RTC
RTC_TypeDef               *rtc                       = RTC;
#endif

#ifdef WWDG
WWDG_TypeDef              *wwdg                      = WWDG;
#endif

#ifdef IWDG
IWDG_TypeDef              *iwdg                      = IWDG;
#endif

#ifdef SPI1
SPI_TypeDef               *spi1                      = SPI1;
#endif

#ifdef SPI2
SPI_TypeDef               *spi2                      = SPI2;
#endif

#ifdef SPI3
SPI_TypeDef               *spi3                      = SPI3;
#endif

#ifdef SPI4
SPI_TypeDef               *spi4                      = SPI4;
#endif

#ifdef SPI5
SPI_TypeDef               *spi5                      = SPI5;
#endif

#ifdef SPI6
SPI_TypeDef               *spi6                      = SPI6;
#endif

#ifdef USART1
USART_TypeDef             *usart1                    = USART1;
#endif

#ifdef USART2
USART_TypeDef             *usart2                    = USART2;
#endif

#ifdef USART3
USART_TypeDef             *usart3                    = USART3;
#endif

#ifdef UART4
USART_TypeDef             *uart4                     = UART4;
#endif

#ifdef UART5
USART_TypeDef             *uart5                     = UART5;
#endif

#ifdef USART6
USART_TypeDef             *usart6                    = USART6;
#endif

#ifdef I2C1
I2C_TypeDef               *i2c1                      = I2C1;
#endif

#ifdef I2C2
I2C_TypeDef               *i2c2                      = I2C2;
#endif

#ifdef I2C3
I2C_TypeDef               *i2c3                      = I2C3;
#endif

#ifdef CAN1
CAN_TypeDef               *can1                      = CAN1;
#endif

#ifdef CAN2
CAN_TypeDef               *can2                      = CAN2;
#endif

#ifdef PWR
PWR_TypeDef               *pwr                       = PWR;
#endif

#ifdef ADC1
ADC_TypeDef               *adc1                      = ADC1;
#endif

#ifdef ADC2
ADC_TypeDef               *adc2                      = ADC2;
#endif

#ifdef ADC3
ADC_TypeDef               *adc3                      = ADC3;
#endif

#ifdef EXTI
EXTI_TypeDef              *exti                      = EXTI;
#endif

#ifdef GPIOA
GPIO_TypeDef              *gpioa                     = GPIOA;
#endif

#ifdef GPIOB
GPIO_TypeDef              *gpiob                     = GPIOB;
#endif

#ifdef GPIOC
GPIO_TypeDef              *gpioc                     = GPIOC;
#endif

#ifdef GPIOD
GPIO_TypeDef              *gpiod                     = GPIOD;
#endif

#ifdef GPIOE
GPIO_TypeDef              *gpioe                     = GPIOE;
#endif

#ifdef GPIOF
GPIO_TypeDef              *gpiof                     = GPIOF;
#endif

#ifdef GPIOG
GPIO_TypeDef              *gpiog                     = GPIOG;
#endif

#ifdef GPIOH
GPIO_TypeDef              *gpioh                     = GPIOH;
#endif

#ifdef GPIOI
GPIO_TypeDef              *gpioi                     = GPIOI;
#endif

#ifdef GPIOJ
GPIO_TypeDef              *gpioj                     = GPIOJ;
#endif

#ifdef GPIOK
GPIO_TypeDef              *gpiok                     = GPIOK;
#endif

#ifdef CRC
CRC_TypeDef               *crc                       = CRC;
#endif

#ifdef RCC
RCC_TypeDef               *rcc                       = RCC;
#endif

#ifdef FLASH
FLASH_TypeDef             *flash_r                   = FLASH;
#endif

#ifdef DMA1
DMA_TypeDef               *dma1                      = DMA1;
#endif

#ifdef DMA2
DMA_TypeDef               *dma2                      = DMA2;
#endif

#ifdef DMA1_Channel1
DMA_Channel_TypeDef       *dma1_channel1             = DMA1_Channel1;
#endif

#ifdef DMA1_Channel2
DMA_Channel_TypeDef       *dma1_channel2             = DMA1_Channel2;
#endif

#ifdef DMA1_Channel3
DMA_Channel_TypeDef       *dma1_channel3             = DMA1_Channel3;
#endif

#ifdef DMA1_Channel4
DMA_Channel_TypeDef       *dma1_channel4             = DMA1_Channel4;
#endif

#ifdef DMA1_Channel5
DMA_Channel_TypeDef       *dma1_channel5             = DMA1_Channel5;
#endif

#ifdef DMA1_Channel6
DMA_Channel_TypeDef       *dma1_channel6             = DMA1_Channel6;
#endif

#ifdef DMA1_Channel7
DMA_Channel_TypeDef       *dma1_channel7             = DMA1_Channel7;
#endif

#ifdef DMA2_Channel1
DMA_Channel_TypeDef       *dma2_channel1             = DMA2_Channel1;
#endif

#ifdef DMA2_Channel2
DMA_Channel_TypeDef       *dma2_channel2             = DMA2_Channel2;
#endif

#ifdef DMA2_Channel3
DMA_Channel_TypeDef       *dma2_channel3             = DMA2_Channel3;
#endif

#ifdef DMA2_Channel4
DMA_Channel_TypeDef       *dma2_channel4             = DMA2_Channel4;
#endif

#ifdef DMA2_Channel5
DMA_Channel_TypeDef       *dma2_channel5             = DMA2_Channel5;
#endif

#ifdef DMA1_Stream0
DMA_Stream_TypeDef        *dma1_stream0              = DMA1_Stream0;
#endif

#ifdef DMA1_Stream1
DMA_Stream_TypeDef        *dma1_stream1              = DMA1_Stream1;
#endif

#ifdef DMA1_Stream2
DMA_Stream_TypeDef        *dma1_stream2              = DMA1_Stream2;
#endif

#ifdef DMA1_Stream3
DMA_Stream_TypeDef        *dma1_stream3              = DMA1_Stream3;
#endif

#ifdef DMA1_Stream4
DMA_Stream_TypeDef        *dma1_stream4              = DMA1_Stream4;
#endif

#ifdef DMA1_Stream5
DMA_Stream_TypeDef        *dma1_stream5              = DMA1_Stream5;
#endif

#ifdef DMA1_Stream6
DMA_Stream_TypeDef        *dma1_stream6              = DMA1_Stream6;
#endif

#ifdef DMA1_Stream7
DMA_Stream_TypeDef        *dma1_stream7              = DMA1_Stream7;
#endif

#ifdef DMA2_Stream0
DMA_Stream_TypeDef        *dma2_stream0              = DMA2_Stream0;
#endif

#ifdef DMA2_Stream1
DMA_Stream_TypeDef        *dma2_stream1              = DMA2_Stream1;
#endif

#ifdef DMA2_Stream2
DMA_Stream_TypeDef        *dma2_stream2              = DMA2_Stream2;
#endif

#ifdef DMA2_Stream3
DMA_Stream_TypeDef        *dma2_stream3              = DMA2_Stream3;
#endif

#ifdef DMA2_Stream4
DMA_Stream_TypeDef        *dma2_stream4              = DMA2_Stream4;
#endif

#ifdef DMA2_Stream5
DMA_Stream_TypeDef        *dma2_stream5              = DMA2_Stream5;
#endif

#ifdef DMA2_Stream6
DMA_Stream_TypeDef        *dma2_stream6              = DMA2_Stream6;
#endif

#ifdef DMA2_Stream7
DMA_Stream_TypeDef        *dma2_stream7              = DMA2_Stream7;
#endif

#ifdef DBGMCU
DBGMCU_TypeDef            *dbgmcu                    = DBGMCU;
#endif

#ifdef SYSCFG
SYSCFG_TypeDef            *syscfg                    = SYSCFG;
#endif

#ifdef NVIC
NVIC_Type                 *nvic                      = NVIC;
#endif

#ifdef SDIO
SDIO_TypeDef              *sdio                      = SDIO;
#endif

#ifdef ETH
ETH_TypeDef               *eth                       = ETH;
#endif

#ifdef USB_OTG_FS
USB_OTG_GlobalTypeDef     *usb_otg_fs                = USB_OTG_FS;
#endif

#ifdef USB_OTG_HS
USB_OTG_GlobalTypeDef     *usb_otg_hs                = USB_OTG_HS;
#endif

#ifdef DAC
DAC_TypeDef               *dac                       = DAC;
#endif

#ifdef CRYP
CRYP_TypeDef              *cryp                      = CRYP;
#endif

#ifdef HASH
HASH_TypeDef              *hash                      = HASH;
#endif

#ifdef RNG
RNG_TypeDef               *rng                       = RNG;
#endif

#ifdef FSMC
FSMC_TypeDef              *fsmc                      = FSMC;
#endif

#ifdef DCMI
DCMI_TypeDef              *dcmi                      = DCMI;
#endif
