STM32F10x_StdPeriph_Examples/CAN/Networking/main.c File Reference

Main program body. More...

#include "stm32f10x.h"
#include "platform_config.h"
#include "stm32_eval.h"

Go to the source code of this file.

Defines

#define KEY_NOT_PRESSED   0x00
#define KEY_PRESSED   0x01

Functions

void CAN_Config (void)
 Configures the CAN.
void Delay (void)
 Delay.
void Init_RxMes (CanRxMsg *RxMessage)
 Initializes a Rx Message.
void LED_Display (uint8_t Ledstatus)
 Turn ON/OFF the dedicate led.
int main (void)
 Main program.
void NVIC_Config (void)
 Configures the NVIC for CAN.

Variables

CAN_FilterInitTypeDef CAN_FilterInitStructure
CAN_InitTypeDef CAN_InitStructure
uint8_t KeyNumber = 0x0
CanTxMsg TxMessage

Detailed Description

Main program body.

Author:
MCD Application Team
Version:
V3.4.0
Date:
10/15/2010

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2010 STMicroelectronics

Definition in file STM32F10x_StdPeriph_Examples/CAN/Networking/main.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

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