STM8S/A Standard Peripherals Firmware Library: ITC_SoftwarePriority

STM8S/A

STM8S/A Standard Peripherals Firmware Library
ITC_SoftwarePriority

Functions

void Delay (uint16_t nCount)
 Delay.
void GPIO_Config (void)
 Configure GPIO for buttons and LEDs available on the evaluation board.
 INTERRUPT_HANDLER (TLI_IRQHandler, 0)
 Top Level Interrupt routine.
 INTERRUPT_HANDLER (AWU_IRQHandler, 1)
 Auto Wake Up Interrupt routine.
 INTERRUPT_HANDLER (CLK_IRQHandler, 2)
 Clock Controller Interrupt routine.
 INTERRUPT_HANDLER (EXTI_PORTA_IRQHandler, 3)
 External Interrupt PORTA Interrupt routine.
 INTERRUPT_HANDLER (EXTI_PORTB_IRQHandler, 4)
 External Interrupt PORTB Interrupt routine.
 INTERRUPT_HANDLER (EXTI_PORTC_IRQHandler, 5)
 External Interrupt PORTC Interrupt routine.
 INTERRUPT_HANDLER (EXTI_PORTD_IRQHandler, 6)
 External Interrupt PORTD Interrupt routine.
 INTERRUPT_HANDLER (EXTI_PORTE_IRQHandler, 7)
 External Interrupt PORTE Interrupt routine.
 INTERRUPT_HANDLER (SPI_IRQHandler, 10)
 SPI Interrupt routine.
 INTERRUPT_HANDLER (TIM1_UPD_OVF_TRG_BRK_IRQHandler, 11)
 Timer1 Update/Overflow/Trigger/Break Interrupt routine.
 INTERRUPT_HANDLER (TIM1_CAP_COM_IRQHandler, 12)
 Timer1 Capture/Compare Interrupt routine.
 INTERRUPT_HANDLER (TIM2_UPD_OVF_BRK_IRQHandler, 13)
 Timer2 Update/Overflow/Break Interrupt routine.
 INTERRUPT_HANDLER (TIM2_CAP_COM_IRQHandler, 14)
 Timer2 Capture/Compare Interrupt routine.
 INTERRUPT_HANDLER (I2C_IRQHandler, 19)
 I2C Interrupt routine.
 INTERRUPT_HANDLER (ADC1_IRQHandler, 22)
 ADC1 interrupt routine.
 INTERRUPT_HANDLER (TIM4_UPD_OVF_IRQHandler, 23)
 Timer4 Update/Overflow Interrupt routine.
 INTERRUPT_HANDLER (EEPROM_EEC_IRQHandler, 24)
 Eeprom EEC Interrupt routine.
 INTERRUPT_HANDLER_TRAP (TRAP_IRQHandler)
 TRAP interrupt routine.
void ITC_Config (void)
 Change the software priority between Key button and joystick Down.
void main (void)
 Example main entry point.

Function Documentation

void Delay ( uint16_t  nCount)

Delay.

Parameters:
nCount
Return values:
None

Definition at line 297 of file STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/main.c.

void GPIO_Config ( void  )

Configure GPIO for buttons and LEDs available on the evaluation board.

Configure GPIO for LEDs and buttons available on the evaluation board.

Parameters:
None
Return values:
None

Definition at line 191 of file STM8S_StdPeriph_Examples/CAN/CAN_Networking/main.c.

INTERRUPT_HANDLER ( TLI_IRQHandler  ,
 
)

Top Level Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 89 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( AWU_IRQHandler  ,
 
)

Auto Wake Up Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 102 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( CLK_IRQHandler  ,
 
)

Clock Controller Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 115 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( EXTI_PORTA_IRQHandler  ,
 
)

External Interrupt PORTA Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 128 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( EXTI_PORTB_IRQHandler  ,
 
)

External Interrupt PORTB Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 140 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

References Delay(), LED1, LED2, STM_EVAL_LEDOff(), and STM_EVAL_LEDToggle().

INTERRUPT_HANDLER ( EXTI_PORTC_IRQHandler  ,
 
)

External Interrupt PORTC Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 156 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

References Delay(), LED1, LED2, STM_EVAL_LEDOff(), and STM_EVAL_LEDToggle().

INTERRUPT_HANDLER ( EXTI_PORTD_IRQHandler  ,
 
)

External Interrupt PORTD Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 172 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( EXTI_PORTE_IRQHandler  ,
 
)

External Interrupt PORTE Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 185 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( SPI_IRQHandler  ,
10   
)

SPI Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 240 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( TIM1_UPD_OVF_TRG_BRK_IRQHandler  ,
11   
)

Timer1 Update/Overflow/Trigger/Break Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 253 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( TIM1_CAP_COM_IRQHandler  ,
12   
)

Timer1 Capture/Compare Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 266 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( TIM2_UPD_OVF_BRK_IRQHandler  ,
13   
)

Timer2 Update/Overflow/Break Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 306 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( TIM2_CAP_COM_IRQHandler  ,
14   
)

Timer2 Capture/Compare Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 319 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( I2C_IRQHandler  ,
19   
)

I2C Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 391 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( ADC1_IRQHandler  ,
22   
)

ADC1 interrupt routine.

Parameters:
None
Return values:
None

Definition at line 473 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( TIM4_UPD_OVF_IRQHandler  ,
23   
)

Timer4 Update/Overflow Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 501 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER ( EEPROM_EEC_IRQHandler  ,
24   
)

Eeprom EEC Interrupt routine.

Parameters:
None
Return values:
None

Definition at line 515 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

INTERRUPT_HANDLER_TRAP ( TRAP_IRQHandler  )

TRAP interrupt routine.

Parameters:
None
Return values:
None

Definition at line 75 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c.

void ITC_Config ( void  )

Change the software priority between Key button and joystick Down.

Parameters:
None
Return values:
None

Definition at line 90 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/main.c.

References enableInterrupts, ITC_IRQ_PORTB, ITC_IRQ_PORTC, ITC_PRIORITYLEVEL_1, ITC_PRIORITYLEVEL_2, and ITC_SetSoftwarePriority().

Referenced by main().

void main ( void  )

Example main entry point.

Parameters:
None
Return values:
None

Definition at line 51 of file STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/main.c.

References GPIO_Config(), and ITC_Config().

STM8 Standard Peripherals Library: Footer

 

 

 

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