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

STM8S/A

EXTI/EXTI_InterruptPriority/main.h File Reference

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

Go to the source code of this file.

Defines

#define BUTTON_PIN   (GPIO_PIN_0)
#define BUTTON_PORT   (GPIOC)
#define JOYSTICK_DOWN_PIN   (GPIO_PIN_7)
#define JOYSTICK_LEFT_PIN   (GPIO_PIN_4)
#define JOYSTICK_PORT   (GPIOB)
#define JOYSTICK_RIGHT_PIN   (GPIO_PIN_5)
#define JOYSTICK_SEL_PIN   (GPIO_PIN_7)
#define JOYSTICK_SEL_PORT   (GPIOD)
#define JOYSTICK_UP_PIN   (GPIO_PIN_6)
#define LED1_PIN   (GPIO_PIN_3)
#define LED2_PIN   (GPIO_PIN_2)
#define LED3_PIN   (GPIO_PIN_1)
#define LED4_PIN   (GPIO_PIN_0)
#define LEDS_PORT   (GPIOH)

Detailed Description

This file contains the external declaration for 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 EXTI/EXTI_InterruptPriority/main.h.


Define Documentation

#define BUTTON_PIN   (GPIO_PIN_0)

Definition at line 43 of file EXTI/EXTI_InterruptPriority/main.h.

#define BUTTON_PORT   (GPIOC)

Definition at line 42 of file EXTI/EXTI_InterruptPriority/main.h.

#define JOYSTICK_DOWN_PIN   (GPIO_PIN_7)

Definition at line 49 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define JOYSTICK_LEFT_PIN   (GPIO_PIN_4)

Definition at line 46 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define JOYSTICK_PORT   (GPIOB)

Definition at line 45 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define JOYSTICK_RIGHT_PIN   (GPIO_PIN_5)

Definition at line 47 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define JOYSTICK_SEL_PIN   (GPIO_PIN_7)

Definition at line 52 of file EXTI/EXTI_InterruptPriority/main.h.

#define JOYSTICK_SEL_PORT   (GPIOD)

Definition at line 51 of file EXTI/EXTI_InterruptPriority/main.h.

#define JOYSTICK_UP_PIN   (GPIO_PIN_6)

Definition at line 48 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define LED1_PIN   (GPIO_PIN_3)

Definition at line 37 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define LED2_PIN   (GPIO_PIN_2)

Definition at line 38 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define LED3_PIN   (GPIO_PIN_1)

Definition at line 39 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define LED4_PIN   (GPIO_PIN_0)

Definition at line 40 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

#define LEDS_PORT   (GPIOH)

Definition at line 36 of file EXTI/EXTI_InterruptPriority/main.h.

Referenced by INTERRUPT_HANDLER().

STM8 Standard Peripherals Library: Footer

 

 

 

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