CAN_DualCAN
[STM32F10x_StdPeriph_Examples]

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void CAN1_RX0_IRQHandler (void)
 This function handles CAN1 RX0 Handler.
void CAN2_RX0_IRQHandler (void)
 This function handles CAN2 RX0 Handler.
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 PendSVC 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

CAN_FilterInitTypeDef CAN_FilterInitStructure
CAN_InitTypeDef CAN_InitStructure
CanRxMsg RxMessage
CanTxMsg TxMessage

Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 88 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void CAN1_RX0_IRQHandler ( void   ) 

This function handles CAN1 RX0 Handler.

Parameters:
None 
Return values:
None 

Definition at line 155 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

References CAN1, CAN_FIFO0, CAN_ID_STD, CAN_Receive(), CanRxMsg::Data, CanRxMsg::DLC, CanRxMsg::IDE, LED_Display(), and CanRxMsg::StdId.

void CAN2_RX0_IRQHandler ( void   ) 

This function handles CAN2 RX0 Handler.

Parameters:
None 
Return values:
None 

Definition at line 177 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

References CAN2, CAN_FIFO0, CAN_ID_STD, CAN_Receive(), CanRxMsg::Data, CanRxMsg::DLC, CanRxMsg::IDE, LED_Display(), and CanRxMsg::StdId.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 123 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 62 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/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 56 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/main.c.

References BUTTON_KEY, BUTTON_MODE_GPIO, BUTTON_TAMPER, CAN1, CAN2, CAN_Config(), CAN_IT_FMP0, CAN_ITConfig(), CAN_Transmit(), CanTxMsg::Data, ENABLE, LCD_Clear(), LCD_COLOR_BLUE, LCD_COLOR_GREEN, LCD_COLOR_RED, LCD_COLOR_WHITE, LCD_DisplayStringLine(), LCD_LINE_0, LCD_LINE_1, LCD_LINE_2, LCD_LINE_3, LCD_SetBackColor(), LCD_SetTextColor(), LED1, LED2, LED3, LED4, LED_Display(), NVIC_Config(), RESET, STM3210C_LCD_Init(), STM_EVAL_LEDInit(), STM_EVAL_LEDOff(), STM_EVAL_PBGetState(), and STM_EVAL_PBInit().

void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 75 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 53 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void PendSV_Handler ( void   ) 

This function handles PendSVC exception.

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 132 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 114 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 141 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 101 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/stm32f10x_it.c.


Variable Documentation

Definition at line 39 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/main.c.

Referenced by CAN_Interrupt(), and CAN_Polling().

Definition at line 38 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/main.c.

Referenced by CAN_Interrupt(), and CAN_Polling().

Definition at line 40 of file STM32F10x_StdPeriph_Examples/CAN/DualCAN/main.c.

Referenced by CAN_Interrupt(), and CAN_Polling().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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