STM32F0xx Standard Peripherals Firmware Library: main.h File Reference

STM32F0xx Standard Peripherals Library

STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h File Reference

Header for main.c module. More...

#include "stm32f0xx.h" #include "stm32072b_eval.h"
#include "stm32072b_eval_lcd.h"

Go to the source code of this file.

Defines

#define CAN_AF_PORT   GPIO_AF_0
#define CAN_CLK   RCC_APB1Periph_CAN
#define CAN_GPIO_CLK   RCC_AHBPeriph_GPIOD
#define CAN_GPIO_PORT   GPIOD
#define CAN_RX_PIN   GPIO_Pin_0
#define CAN_RX_SOURCE   GPIO_PinSource0
#define CAN_TX_PIN   GPIO_Pin_1
#define CAN_TX_SOURCE   GPIO_PinSource1
#define CANx   CAN

Functions

void LED_Display (uint8_t Ledstatus)
 Turn ON/OFF the dedicated led.

Detailed Description

Header for main.c module.

Author:
MCD Application Team
Version:
V1.4.0
Date:
24-July-2014
Attention:

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.


Define Documentation

#define CAN_AF_PORT   GPIO_AF_0

Definition at line 45 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_CLK   RCC_APB1Periph_CAN

Definition at line 40 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_GPIO_CLK   RCC_AHBPeriph_GPIOD

Definition at line 44 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_GPIO_PORT   GPIOD

Definition at line 43 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_RX_PIN   GPIO_Pin_0

Definition at line 41 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_RX_SOURCE   GPIO_PinSource0

Definition at line 46 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_TX_PIN   GPIO_Pin_1

Definition at line 42 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

#define CAN_TX_SOURCE   GPIO_PinSource1

Definition at line 47 of file STM32F0xx_StdPeriph_Examples/CAN/CAN_DualFIFO/main.h.

Referenced by CAN_Config().

STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32