STM32F0xx Standard Peripherals Firmware Library
|
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 |
Definition at line 67 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#define ACTION_NONE 0xFF |
Definition at line 66 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
Referenced by CPAL_I2C_ERR_UserCallback(), CPAL_I2C_TXTC_UserCallback(), CPAL_TIMEOUT_UserCallback(), EXTI0_1_IRQHandler(), EXTI4_15_IRQHandler(), main(), and TIM17_IRQHandler().
#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) |
Definition at line 60 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#define countof | ( | a | ) | (sizeof(a) / sizeof(*(a))) |
Definition at line 51 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#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 |
Definition at line 59 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
Referenced by CPAL_I2C_RXTC_UserCallback().
#define MEASSAGE_EMPTY (uint8_t*)" " |
Definition at line 57 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
Referenced by CPAL_I2C_RXTC_UserCallback(), CPAL_I2C_TXTC_UserCallback(), and main().
#define MESSAGE1 (uint8_t*)"---STM32 CPAL Lib---" |
Definition at line 53 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#define MESSAGE2 (uint8_t*)"I2C 2xBoards Example" |
Definition at line 54 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#define MESSAGE3 (uint8_t*)"-------READY--------" |
Definition at line 55 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
#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 |
Definition at line 71 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
Referenced by EXTI0_1_IRQHandler(), EXTI4_15_IRQHandler(), main(), and TIM17_IRQHandler().
#define STATE_ON 1 |
Definition at line 72 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_TwoBoards/main.h.
Referenced by main().