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

STM8S/A

CAN/CAN_Networking/main.h File Reference

This file contains the external declaration of main.c file. More...

#include "stm8s.h" #include "stm8s_eval.h"
#include "stm8s_eval_lcd.h"

Go to the source code of this file.

Defines

#define Key_NoPressed   0x00
#define Key_Pressed   0x01
#define TIME   0x7FFF

Functions

void CAN_Config (void)
 Configures the CAN mode and filter.
void CLK_Config (void)
 Configure system clock to run at 16Mhz.
void Delay (uint16_t nCount)
 Delay.
void GPIO_Config (void)
 Configure GPIO for LEDs and buttons available on the evaluation board.
void LCD_Config (void)
 Configure the LCD available on the evaluation board.
void LCD_Display (u8 Ledstatus)
 Display led status and communication direction on the LCD.
void LED_Display (u8 Ledstatus)
 Display led status.

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 CAN/CAN_Networking/main.h.


Define Documentation

#define Key_NoPressed   0x00

Definition at line 41 of file CAN/CAN_Networking/main.h.

Referenced by main().

#define Key_Pressed   0x01

Definition at line 40 of file CAN/CAN_Networking/main.h.

#define TIME   0x7FFF

Definition at line 42 of file CAN/CAN_Networking/main.h.

Referenced by main().

STM8 Standard Peripherals Library: Footer

 

 

 

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