TIM_DMA
[STM32F10x_StdPeriph_Examples]

Defines

#define TIM1_CCR3_Address   0x40012C3C

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void DMA_Configuration (void)
 Configures the DMA.
void GPIO_Configuration (void)
 Configure the TIM1 Pins.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
int main (void)
 Main program.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void RCC_Configuration (void)
 Configures the different system clocks.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.

Variables

uint16_t SRC_Buffer [3] = {0, 0, 0}
TIM_OCInitTypeDef TIM_OCInitStructure
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure
uint16_t TimerPeriod = 0

Define Documentation

#define TIM1_CCR3_Address   0x40012C3C

Definition at line 34 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

Referenced by DMA_Configuration().


Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 83 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 107 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void DMA_Configuration ( void   ) 
void GPIO_Configuration ( void   ) 

Configure the TIM1 Pins.

Configures the different GPIO ports.

Parameters:
None 
Return values:
None 

Definition at line 152 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

References GPIO_Init(), GPIO_InitStructure, GPIO_InitTypeDef::GPIO_Mode, GPIO_Mode_AF_PP, GPIO_InitTypeDef::GPIO_Pin, GPIO_Pin_10, GPIO_Pin_15, GPIO_InitTypeDef::GPIO_Speed, GPIO_Speed_50MHz, GPIOA, and GPIOB.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 59 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

int main ( void   ) 
void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 71 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 50 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 123 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void RCC_Configuration ( void   ) 

Configures the different system clocks.

Parameters:
None 
Return values:
None 

Definition at line 138 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

References ENABLE, RCC_AHBPeriph_DMA1, RCC_AHBPeriphClockCmd(), RCC_APB2Periph_GPIOA, RCC_APB2Periph_GPIOB, RCC_APB2Periph_TIM1, and RCC_APB2PeriphClockCmd().

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 115 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 131 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 95 of file STM32F10x_StdPeriph_Examples/TIM/DMA/stm32f10x_it.c.


Variable Documentation

uint16_t SRC_Buffer[3] = {0, 0, 0}

Definition at line 40 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

Definition at line 39 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

Definition at line 38 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

uint16_t TimerPeriod = 0

Definition at line 41 of file STM32F10x_StdPeriph_Examples/TIM/DMA/main.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32