STM8S/A Standard Peripherals Firmware Library
|
This file contains the external declaration of main.c file. More...
Go to the source code of this file.
Defines | |
#define | countof(a) (sizeof(a) / sizeof(*(a))) |
#define | RxBufferSize1 TxBufferSize2 |
#define | RxBufferSize2 TxBufferSize1 |
#define | TxBufferSize1 (countof(TxBuffer1) - 1) |
#define | TxBufferSize2 (countof(TxBuffer2) - 1) |
Functions | |
uint8_t | GetVar_NbrOfDataToRead1 (void) |
Returns NbrOfDataToRead1 value. | |
uint8_t | GetVar_NbrOfDataToRead2 (void) |
Returns NbrOfDataToRead2 value. | |
uint8_t | GetVar_NbrOfDataToTransfer1 (void) |
Returns NbrOfDataToTransfer1 value. | |
uint8_t | GetVar_NbrOfDataToTransfer2 (void) |
Returns NbrOfDataToTransfer2 value. | |
uint8_t | GetVar_RxCounter1 (void) |
Returns RxCounter1 value. | |
uint8_t | GetVar_RxCounter2 (void) |
Returns RxCounter2 value. | |
uint8_t | GetVar_TxCounter1 (void) |
Returns TxCounter1 value. | |
uint8_t | GetVar_TxCounter2 (void) |
Returns TxCounter2 value. | |
uint8_t | IncrementVar_RxCounter1 (void) |
Increments RxCounter1 variable and return its value. | |
uint8_t | IncrementVar_RxCounter2 (void) |
Increments RxCounter2 variable and return its value. | |
uint8_t | IncrementVar_TxCounter1 (void) |
Increments TxCounter1 variable and return its value. | |
uint8_t | IncrementVar_TxCounter2 (void) |
Increments TxCounter2 variable and return its value. |
Detailed Description
This file contains the external declaration of main.c file.
- 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 UART1/UART1_Interrupt/main.h.
Define Documentation
#define countof | ( | a | ) | (sizeof(a) / sizeof(*(a))) |
Definition at line 43 of file UART1/UART1_Interrupt/main.h.
#define RxBufferSize1 TxBufferSize2 |
Definition at line 39 of file UART1/UART1_Interrupt/main.h.
Referenced by main().
#define RxBufferSize2 TxBufferSize1 |
Definition at line 40 of file UART1/UART1_Interrupt/main.h.
Referenced by main().
#define TxBufferSize1 (countof(TxBuffer1) - 1) |
Definition at line 37 of file UART1/UART1_Interrupt/main.h.
#define TxBufferSize2 (countof(TxBuffer2) - 1) |
Definition at line 38 of file UART1/UART1_Interrupt/main.h.