DMA_FLASH_RAM
[STM32F10x_StdPeriph_Examples]

Defines

#define BufferSize   32

Enumerations

enum  TestStatus {
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED
}

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void DMA1_Channel6_IRQHandler (void)
 This function handles DMA1 Channel 6 interrupt request.
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 NVIC_Configuration (void)
 Configure the nested vectored interrupt controller.
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

__IO uint32_t CurrDataCounterBegin = 0
__IO uint16_t CurrDataCounterEnd
__IO uint32_t CurrDataCounterEnd = 0x01
DMA_InitTypeDef DMA_InitStructure
uint32_t DST_Buffer [BufferSize]
const uint32_t SRC_Const_Buffer [BufferSize]
TestStatus TransferStatus = FAILED

Define Documentation

#define BufferSize   32

Definition at line 36 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/main.c.

Referenced by main(), and SPI1_IRQHandler().


Enumeration Type Documentation

enum TestStatus
Enumerator:
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 

Definition at line 33 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/main.c.


Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 87 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 122 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void DMA1_Channel6_IRQHandler ( void   ) 

This function handles DMA1 Channel 6 interrupt request.

Parameters:
None 
Return values:
None 

Definition at line 153 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 61 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

int main ( void   ) 
void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 74 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 52 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void NVIC_Configuration ( void   ) 
void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

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

void RCC_Configuration ( void   ) 

Configures the different system clocks.

Parameters:
None 
Return values:
None 

Definition at line 129 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/main.c.

References ENABLE, RCC_AHBPeriph_DMA1, and RCC_AHBPeriphClockCmd().

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 113 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 140 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 100 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/stm32f10x_it.c.


Variable Documentation

__IO uint32_t CurrDataCounterBegin = 0

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

Referenced by main().

__IO uint16_t CurrDataCounterEnd
__IO uint32_t CurrDataCounterEnd = 0x01
uint32_t DST_Buffer[BufferSize]
const uint32_t SRC_Const_Buffer[BufferSize]
Initial value:
 {
                                    0x01020304,0x05060708,0x090A0B0C,0x0D0E0F10,
                                    0x11121314,0x15161718,0x191A1B1C,0x1D1E1F20,
                                    0x21222324,0x25262728,0x292A2B2C,0x2D2E2F30,
                                    0x31323334,0x35363738,0x393A3B3C,0x3D3E3F40,
                                    0x41424344,0x45464748,0x494A4B4C,0x4D4E4F50,
                                    0x51525354,0x55565758,0x595A5B5C,0x5D5E5F60,
                                    0x61626364,0x65666768,0x696A6B6C,0x6D6E6F70,
                                    0x71727374,0x75767778,0x797A7B7C,0x7D7E7F80}

Definition at line 45 of file STM32F10x_StdPeriph_Examples/DMA/FLASH_RAM/main.c.

Referenced by main().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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