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 | BUFFSIZE (countof(BufferTX)-1) |
#define | countof(a) (sizeof(a) / sizeof(*(a))) |
#define | I2C_MASTER |
#define | MASTER_I2C_TIMING 0x10420F13 |
#define | MASTERSTRUCTURE I2C1_DevStructure |
#define | MEASSAGE_EMPTY (uint8_t*)" " |
#define | MESSAGE1 (uint8_t*)"---STM32 CPAL Lib---" |
#define | MESSAGE10 (uint8_t*)" Slave Not yet Ready" |
#define | MESSAGE11 (uint8_t*)" Error occurred " |
#define | MESSAGE12 (uint8_t*)" Timeout occurred " |
#define | MESSAGE2 (uint8_t*)"I2C WakeUp From Stop" |
#define | MESSAGE3 (uint8_t*)"-------READY--------" |
#define | MESSAGE4 (uint8_t*)" Press SEL to start " |
#define | MESSAGE5 (uint8_t*)" Tansfer " |
#define | MESSAGE6 (uint8_t*)" Transfer Complete " |
#define | MESSAGE7 (uint8_t*)" Entering Stop Mode " |
#define | MESSAGE8 (uint8_t*)" Device in Stop Mode" |
#define | MESSAGE9 (uint8_t*)" WakeUp From Stop " |
#define | OWNADDRESS ((uint8_t)0xCD) |
#define | SLAVE_I2C_TIMING 0x10420F13 |
#define | SLAVESTRUCTURE I2C1_DevStructure |
Enumerations | |
enum | TestStatus { FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 1, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED } |
Functions | |
void | Delay (__IO uint32_t nTime) |
Inserts a delay time. | |
void | TimingDelay_Decrement (void) |
Decrements the TimingDelay variable. |
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_WakeUpFromStop/main.h.
Define Documentation
#define BUFFSIZE (countof(BufferTX)-1) |
Definition at line 66 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define countof | ( | a | ) | (sizeof(a) / sizeof(*(a))) |
Definition at line 83 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define I2C_MASTER |
Definition at line 50 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MASTER_I2C_TIMING 0x10420F13 |
Definition at line 55 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MASTERSTRUCTURE I2C1_DevStructure |
Definition at line 59 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MEASSAGE_EMPTY (uint8_t*)" " |
Definition at line 68 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MESSAGE1 (uint8_t*)"---STM32 CPAL Lib---" |
Definition at line 69 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MESSAGE10 (uint8_t*)" Slave Not yet Ready" |
Definition at line 78 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by CPAL_I2C_ERR_UserCallback(), and main().
#define MESSAGE11 (uint8_t*)" Error occurred " |
Definition at line 79 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by CPAL_I2C_ERR_UserCallback().
#define MESSAGE12 (uint8_t*)" Timeout occurred " |
Definition at line 80 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by CPAL_TIMEOUT_UserCallback().
#define MESSAGE2 (uint8_t*)"I2C WakeUp From Stop" |
Definition at line 70 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MESSAGE3 (uint8_t*)"-------READY--------" |
Definition at line 71 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MESSAGE4 (uint8_t*)" Press SEL to start " |
Definition at line 72 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
#define MESSAGE5 (uint8_t*)" Tansfer " |
Definition at line 73 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MESSAGE6 (uint8_t*)" Transfer Complete " |
Definition at line 74 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MESSAGE7 (uint8_t*)" Entering Stop Mode " |
Definition at line 75 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MESSAGE8 (uint8_t*)" Device in Stop Mode" |
Definition at line 76 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define MESSAGE9 (uint8_t*)" WakeUp From Stop " |
Definition at line 77 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define OWNADDRESS ((uint8_t)0xCD) |
Definition at line 63 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define SLAVE_I2C_TIMING 0x10420F13 |
Definition at line 56 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
#define SLAVESTRUCTURE I2C1_DevStructure |
Definition at line 60 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.
Referenced by main().
Enumeration Type Documentation
enum TestStatus |
- Enumerator:
Definition at line 45 of file STM32F0xx_StdPeriph_Examples/I2C/I2C_WakeUpFromStop/main.h.