-
Notifications
You must be signed in to change notification settings - Fork 7
TIM4_UPD_ISR
gicking edited this page Feb 10, 2018
·
2 revisions
back to Command Reference / Interrupt
Implementation of Timer 4 update interrupt service routine. If TIM4_UPD
interrupt is enabled, interrupt
service routine TIM4_UPD_ISR()
is automatically called after timer is updated on period match.
Notes:
-
TIM4_UPD_ISR()
is used for internal time-keeping functions, and is called every 1ms - user function can be attached to
TIM4_UPD_ISR()
via attachInterruptMillis() - global interrupts must also be enabled, see interrupts()
- defined in
stm8_interrupt_vector.h
- auto-loaded in
main_general.h
- in
config.h
set#define USE_TIM4_UPD_ISR
ISR_HANDLER(TIM4_UPD_ISR, TIM4_UPD_VECTOR)
-
input:
- none
-
output:
- none
- Nothing
-
Getting Started
-
- General Commands
- Libraries
- LCD BTHQ21605V
- poti AD5280
- poti AD5282
- freemodbus
- PetitFS SD-card (min)
- FatFS: SD card (full)
- Board Specific
-
- Universal
- Board Specific