STM32F0xx Standard Peripherals Firmware Library: main.h File Reference

STM32F0xx Standard Peripherals Library

STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h File Reference

Header for main.c module. More...

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

Go to the source code of this file.

Defines

#define ACTION_DISABLED   0xFD
#define ACTION_NONE   0xFF
#define ACTION_PENDING   0xFE
#define ACTION_PERIODIC   0xFC
#define BUFFER_SIZE   (countof(tStateSignal)-1)
#define countof(a)   (sizeof(a) / sizeof(*(a)))
#define I2C_DevStructure   I2C1_DevStructure
#define I2C_TIMING   0x00731012
#define MAX_BUFF_SIZE   200
#define MEASSAGE_EMPTY   (uint8_t*)" "
#define MESSAGE1   (uint8_t*)"---STM32 CPAL Lib---"
#define MESSAGE2   (uint8_t*)"I2C 2xBoards Example"
#define MESSAGE3   (uint8_t*)"-------READY--------"
#define OWN_ADDRESS   0x74
#define STATE_OFF   0
#define STATE_ON   1

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/I2C/I2C_TwoBoards/main.h.


Define Documentation

#define ACTION_DISABLED   0xFD
#define ACTION_PENDING   0xFE

Definition at line 68 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main().

#define ACTION_PERIODIC   0xFC

Definition at line 69 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main(), and TIM17_IRQHandler().

#define BUFFER_SIZE   (countof(tStateSignal)-1)
#define countof (   a)    (sizeof(a) / sizeof(*(a)))
#define I2C_DevStructure   I2C1_DevStructure

Definition at line 48 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main().

#define I2C_TIMING   0x00731012

Definition at line 64 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main().

#define MAX_BUFF_SIZE   200
#define MEASSAGE_EMPTY   (uint8_t*)" "
#define MESSAGE1   (uint8_t*)"---STM32 CPAL Lib---"
#define MESSAGE2   (uint8_t*)"I2C 2xBoards Example"
#define MESSAGE3   (uint8_t*)"-------READY--------"
#define OWN_ADDRESS   0x74

Definition at line 62 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main().

#define STATE_OFF   0
#define STATE_ON   1

Definition at line 72 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.

Referenced by main().

STM32L1xx Standard Peripherals Library: Footer

 

 

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