IoT Supervisor 0.0
|
Functions | |
SI_INTERRUPT (CMP1_ISR, CMP1_IRQn) | |
SI_INTERRUPT (TIMER0_ISR, TIMER0_IRQn) | |
SI_INTERRUPT (TIMER1_ISR, TIMER1_IRQn) | |
SI_INTERRUPT (UART0_ISR, UART0_IRQn) | |
SI_INTERRUPT (ADC0EOC_ISR, ADC0EOC_IRQn) | |
SI_INTERRUPT | ( | ADC0EOC_ISR | , |
ADC0EOC_IRQn | |||
) |
ADC0EOC ISR Content goes here. Remember to clear flag bits:
ADC0 End of Conversion ISR
This ISR is called when the ADC finishes converting. In this application, it should be configured for every 50ms or so.
Definition at line 196 of file Interrupts.c.
SI_INTERRUPT | ( | CMP1_ISR | , |
CMP1_IRQn | |||
) |
CMPn ISR Content goes here. Remember to clear flag bits:
This ISR implements the immediate voltage low reset for the SBC.
Definition at line 32 of file Interrupts.c.
SI_INTERRUPT | ( | TIMER0_ISR | , |
TIMER0_IRQn | |||
) |
TIMER0 ISR Content goes here. Remember to clear flag bits:
ISR for modbus message timeout
Modbus implements a "T_1.5" timeout between bytes. Clearing the data in the modbus buffer invalidates it.
Definition at line 73 of file Interrupts.c.
SI_INTERRUPT | ( | TIMER1_ISR | , |
TIMER1_IRQn | |||
) |
TIMER1 ISR Content goes here. Remember to clear flag bits:
ISR for for timing (1 ms)
Actually the timer 0 high ISR since timer0 is split into two timers.
This is more or less the main timing source for the functions on this application.
Definition at line 116 of file Interrupts.c.
SI_INTERRUPT | ( | UART0_ISR | , |
UART0_IRQn | |||
) |
UART0 ISR Content goes here. Remember to clear flag bits:
ISR for for UART
On UART receive, this ISR is called to insert the received byte into the petit modbus buffer.
On UART transmit, this ISR is called to start transmitting the next byte
Definition at line 155 of file Interrupts.c.