Managing the service pin, Managing interrupts – Echelon FTXL User Manual
Page 191
![background image](/manuals/735717/191/background.png)
FTXL User’s Guide
179
Table 44. FTXL HAL Transceiver Functions
Function
Description
LonAssertTransceiverReset()
Asserts the FTXL Transceiver’s RESET~ pin, which
causes the Transceiver to reset.
LonDeassertTransceiverReset()
Deasserts the FTXL Transceiver’s RESET~ pin,
which causes the Transceiver to complete post-reset
processing.
LonReadTransceiverDataRegister() Reads the FTXL Transceiver’s data register.
LonReadTransceiverReset()
Reads the state of the FTXL Transceiver’s RESET~
pin.
LonTransceiverIsBusy()
Reads the FTXL Transceiver’s status register to
determine whether the Transceiver is busy.
LonWriteTransceiverDataRegister() Writes to the FTXL Transceiver’s data register.
Managing the Service Pin
To manage the service pin for an FTXL device, the FTXL HAL provides the
functions listed in Table 45.
Table 45. FTXL HAL Service Functions
Function
Description
LonGetServicePinStatus()
Gets the status of the FTXL Transceiver’s SERVICE~ pin,
which represents the status of the Service button.
LonSetServiceLed()
Sets the state of the FTXL device’s Service LED, which can
be on or off.
Managing Interrupts
To manage interrupts for the FTXL device, the FTXL HAL provides the functions
and interrupt service routines (ISRs) listed in Table 46.
Table 46. FTXL HAL Interrupt Functions
Function
Description
LonDisableInterrupt()
Disables the FTXL ISRs.
LonDriverServicePinIrq() The main body of the ISR for processing input from the FTXL
Transceiver’s SERVICE~ pin. This function is implemented in
the FTXL library, and is called by an interrupt routine defined
in the FTXL HAL.