STM32F0xx Standard Peripherals Firmware Library: TIM_DMABurst

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Defines

#define TIM1_DMAR_ADDRESS   ((uint32_t)0x40012C4C)

Functions

static void DMA_Config (void)
 Configure DMA1.
int main (void)
 Main program.
static void TIM_Config (void)
 Configure the TIM1 Pins.

Variables

uint16_t SRC_Buffer [3] = {0x0FFF, 0x0000, 0x0555}
TIM_OCInitTypeDef TIM_OCInitStructure

Define Documentation

#define TIM1_DMAR_ADDRESS   ((uint32_t)0x40012C4C)

Definition at line 40 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_DMABurst/main.c.

Referenced by DMA_Config().


Function Documentation

static void DMA_Config ( void  ) [static]

Configure DMA1.

Parameters:
None
Return values:
None

Definition at line 167 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_DMABurst/main.c.

References DMA_InitStructure, SRC_Buffer, and TIM1_DMAR_ADDRESS.

Referenced by main().

int main ( void  )

Main program.

Parameters:
None
Return values:
None

< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f0xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f0xx.c file

Definition at line 57 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_DMABurst/main.c.

References DMA_Config(), and TIM_Config().

static void TIM_Config ( void  ) [static]

Configure the TIM1 Pins.

Parameters:
None
Return values:
None

Definition at line 88 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_DMABurst/main.c.

References GPIO_InitStructure, SystemCoreClock, TIM_OCInitStructure, and TIM_TimeBaseStructure.

Referenced by main().


Variable Documentation

uint16_t SRC_Buffer[3] = {0x0FFF, 0x0000, 0x0555}

Definition at line 45 of file STM32F0xx_StdPeriph_Examples/TIM/TIM_DMABurst/main.c.

Referenced by DMA_Config().

TIM_OCInitTypeDef TIM_OCInitStructure
STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32