STM8S/A Standard Peripherals Firmware Library: main.h File Reference

STM8S/A

I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h File Reference

Main program header. More...

Go to the source code of this file.

Defines

#define BUFFERSIZE   10
#define FAST_I2C_MODE
#define I2C_SPEED   300000
#define SAFE_PROCEDURE
#define SLAVE_ADDRESS   0x30

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 = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED
}

Detailed Description

Main program header.

Author:
MCD Application Team
Version:
V2.0.1
Date:
18-November-2011
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 I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h.


Define Documentation

#define BUFFERSIZE   10

Definition at line 55 of file I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h.

Referenced by main().

#define FAST_I2C_MODE
#define I2C_SPEED   300000

Definition at line 36 of file I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h.

Referenced by main(), and sEE_Init().

#define SAFE_PROCEDURE
#define SLAVE_ADDRESS   0x30

Definition at line 47 of file I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h.

Referenced by INTERRUPT_HANDLER(), and main().


Enumeration Type Documentation

enum TestStatus
Enumerator:
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 

Definition at line 58 of file I2C/I2C_TwoBoards/I2C_DataExchange/Master/main.h.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com