Lib_DEBUG
[STM32F10x_StdPeriph_Examples]

Defines

#define PUTCHAR_PROTOTYPE   int fputc(int ch, FILE *f)

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void debug (void)
 This function initialize peripherals pointers.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
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 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

ADC_TypeDefADC1_DBG
ADC_TypeDefADC2_DBG
ADC_TypeDefADC3_DBG
AFIO_TypeDefAFIO_DBG
BKP_TypeDefBKP_DBG
CAN_TypeDefCAN1_DBG
CEC_TypeDefCEC_DBG
CRC_TypeDefCRC_DBG
DAC_TypeDefDAC_DBG
DBGMCU_TypeDefDBGMCU_DBG
DMA_Channel_TypeDefDMA1_Channel1_DBG
DMA_Channel_TypeDefDMA1_Channel2_DBG
DMA_Channel_TypeDefDMA1_Channel3_DBG
DMA_Channel_TypeDefDMA1_Channel4_DBG
DMA_Channel_TypeDefDMA1_Channel5_DBG
DMA_Channel_TypeDefDMA1_Channel6_DBG
DMA_Channel_TypeDefDMA1_Channel7_DBG
DMA_TypeDefDMA1_DBG
DMA_Channel_TypeDefDMA2_Channel1_DBG
DMA_Channel_TypeDefDMA2_Channel2_DBG
DMA_Channel_TypeDefDMA2_Channel3_DBG
DMA_Channel_TypeDefDMA2_Channel4_DBG
DMA_Channel_TypeDefDMA2_Channel5_DBG
DMA_TypeDefDMA2_DBG
EXTI_TypeDefEXTI_DBG
FLASH_TypeDefFLASH_DBG
FSMC_Bank1_TypeDefFSMC_Bank1_DBG
FSMC_Bank1E_TypeDefFSMC_Bank1E_DBG
FSMC_Bank2_TypeDefFSMC_Bank2_DBG
FSMC_Bank3_TypeDefFSMC_Bank3_DBG
FSMC_Bank4_TypeDefFSMC_Bank4_DBG
GPIO_TypeDefGPIOA_DBG
GPIO_TypeDefGPIOB_DBG
GPIO_TypeDefGPIOC_DBG
GPIO_TypeDefGPIOD_DBG
GPIO_TypeDefGPIOE_DBG
GPIO_TypeDefGPIOF_DBG
GPIO_TypeDefGPIOG_DBG
I2C_TypeDefI2C1_DBG
I2C_TypeDefI2C2_DBG
IWDG_TypeDefIWDG_DBG
NVIC_Type * NVIC_DBG
OB_TypeDefOB_DBG
PWR_TypeDefPWR_DBG
RCC_TypeDefRCC_DBG
RTC_TypeDefRTC_DBG
SCB_Type * SCB_DBG
SDIO_TypeDefSDIO_DBG
SPI_TypeDefSPI1_DBG
SPI_TypeDefSPI2_DBG
SPI_TypeDefSPI3_DBG
SysTick_Type * SysTick_DBG
TIM_TypeDefTIM15_DBG
TIM_TypeDefTIM16_DBG
TIM_TypeDefTIM17_DBG
TIM_TypeDefTIM1_DBG
TIM_TypeDefTIM2_DBG
TIM_TypeDefTIM3_DBG
TIM_TypeDefTIM4_DBG
TIM_TypeDefTIM5_DBG
TIM_TypeDefTIM6_DBG
TIM_TypeDefTIM7_DBG
TIM_TypeDefTIM8_DBG
USART_TypeDefUART4_DBG
USART_TypeDefUART5_DBG
USART_TypeDefUSART1_DBG
USART_TypeDefUSART2_DBG
USART_TypeDefUSART3_DBG
USART_InitTypeDef USART_InitStructure
WWDG_TypeDefWWDG_DBG

Define Documentation

#define PUTCHAR_PROTOTYPE   int fputc(int ch, FILE *f)

Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 85 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

void debug ( void   ) 
void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 120 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 59 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

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_stm32f10x_xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f10x.c file

Definition at line 57 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/main.c.

References COM1, debug(), ENABLE, GPIO_Init(), GPIO_InitTypeDef::GPIO_Mode, GPIO_Mode_Out_PP, GPIO_InitTypeDef::GPIO_Pin, GPIO_Pin_6, GPIOA, RCC_APB1PeriphClockCmd(), RCC_APB2Periph_SPI1, STM_EVAL_COMInit(), USART_InitTypeDef::USART_BaudRate, USART_InitTypeDef::USART_HardwareFlowControl, USART_HardwareFlowControl_None, USART_InitTypeDef::USART_Mode, USART_Mode_Rx, USART_Mode_Tx, USART_InitTypeDef::USART_Parity, USART_Parity_No, USART_InitTypeDef::USART_StopBits, USART_StopBits_1, USART_InitTypeDef::USART_WordLength, and USART_WordLength_8b.

void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 72 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/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/Lib_DEBUG/stm32f10x_it.c.

void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 129 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 111 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 138 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 98 of file STM32F10x_StdPeriph_Examples/Lib_DEBUG/stm32f10x_it.c.


Variable Documentation

Definition at line 67 of file lib_dbg.c.

Definition at line 68 of file lib_dbg.c.

Definition at line 73 of file lib_dbg.c.

Definition at line 58 of file lib_dbg.c.

Definition at line 54 of file lib_dbg.c.

Definition at line 53 of file lib_dbg.c.

Definition at line 57 of file lib_dbg.c.

Definition at line 93 of file lib_dbg.c.

Definition at line 56 of file lib_dbg.c.

Definition at line 101 of file lib_dbg.c.

Definition at line 80 of file lib_dbg.c.

Definition at line 81 of file lib_dbg.c.

Definition at line 82 of file lib_dbg.c.

Definition at line 83 of file lib_dbg.c.

Definition at line 84 of file lib_dbg.c.

Definition at line 85 of file lib_dbg.c.

Definition at line 86 of file lib_dbg.c.

Definition at line 78 of file lib_dbg.c.

Definition at line 87 of file lib_dbg.c.

Definition at line 88 of file lib_dbg.c.

Definition at line 89 of file lib_dbg.c.

Definition at line 90 of file lib_dbg.c.

Definition at line 91 of file lib_dbg.c.

Definition at line 79 of file lib_dbg.c.

Definition at line 59 of file lib_dbg.c.

Definition at line 94 of file lib_dbg.c.

Definition at line 96 of file lib_dbg.c.

Definition at line 97 of file lib_dbg.c.

Definition at line 98 of file lib_dbg.c.

Definition at line 99 of file lib_dbg.c.

Definition at line 100 of file lib_dbg.c.

Definition at line 60 of file lib_dbg.c.

Definition at line 61 of file lib_dbg.c.

Definition at line 62 of file lib_dbg.c.

Definition at line 63 of file lib_dbg.c.

Definition at line 64 of file lib_dbg.c.

Definition at line 65 of file lib_dbg.c.

Definition at line 66 of file lib_dbg.c.

Definition at line 51 of file lib_dbg.c.

Definition at line 52 of file lib_dbg.c.

Definition at line 44 of file lib_dbg.c.

NVIC_Type* NVIC_DBG

Definition at line 103 of file lib_dbg.c.

Referenced by debug().

Definition at line 95 of file lib_dbg.c.

Definition at line 55 of file lib_dbg.c.

Definition at line 92 of file lib_dbg.c.

Definition at line 42 of file lib_dbg.c.

SCB_Type* SCB_DBG

Definition at line 104 of file lib_dbg.c.

Referenced by debug().

Definition at line 77 of file lib_dbg.c.

Definition at line 70 of file lib_dbg.c.

Definition at line 45 of file lib_dbg.c.

Definition at line 46 of file lib_dbg.c.

SysTick_Type* SysTick_DBG

Definition at line 102 of file lib_dbg.c.

Referenced by debug().

Definition at line 74 of file lib_dbg.c.

Definition at line 75 of file lib_dbg.c.

Definition at line 76 of file lib_dbg.c.

Definition at line 69 of file lib_dbg.c.

Definition at line 36 of file lib_dbg.c.

Definition at line 37 of file lib_dbg.c.

Definition at line 38 of file lib_dbg.c.

Definition at line 39 of file lib_dbg.c.

Definition at line 40 of file lib_dbg.c.

Definition at line 41 of file lib_dbg.c.

Definition at line 71 of file lib_dbg.c.

Definition at line 49 of file lib_dbg.c.

Definition at line 50 of file lib_dbg.c.

Definition at line 72 of file lib_dbg.c.

Definition at line 47 of file lib_dbg.c.

Definition at line 48 of file lib_dbg.c.

Definition at line 43 of file lib_dbg.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

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