beautypg.com

The ftxl operating system abstraction layer, The ftxl, Operating system – Echelon FTXL User Manual

Page 169: Abstraction layer, Ge 157, The ftxl operating, System abstraction layer, For infor

background image

FTXL User’s Guide

157

Function

Description

LonNvdDelete()

Indicates a request to delete a non-volatile data

segment.

LonNvdDeserializeSegment()

Indicates a request to update the FTXL device’s

control structures from the serialized application’s

data segment.

LonNvdEnterTransaction()

Indicates a request to begin a transaction for the
non-volatile data segment.

LonNvdExitTransaction()

Indicates a request to complete a transaction for the
non-volatile data segment.

LonNvdGetApplicationSegmentSize() Indicates a request to determine the number of

bytes required to store the application’s non-volatile

data segment.

LonNvdIsInTransaction()

Indicates a request to determine if a transaction for

the non-volatile data segment was in progress

during the device’s previous shutdown.

LonNvdOpenForRead()

Indicates a request to open a non-volatile data

segment for reading.

LonNvdOpenForWrite()

Indicates a request to open a non-volatile data

segment for writing.

LonNvdRead()

Indicates a request to read a section of a non-
volatile data segment.

LonNvdWrite()

Indicates a request to write a section of a non-
volatile data segment.

LonNvdSerializeSegment()

Indicates a request to create a serialized image of
the application’s non-volatile data segment.

The FTXL Operating System Abstraction Layer

The FTXL Developer’s Kit includes an operating system abstraction layer

(OSAL), which allows the FTXL LonTalk protocol stack and FTXL applications to

be ported to any operating system that is supported for the Nios II processor.

The example applications that are included with the FTXL Developer’s Kit

implement the FTXL OSAL for the Micrium μC/OS-II operating system. The

FTXL OSAL is provided as source code so that you can modify this
implementation to support other operating systems.
For detailed information about the FTXL OSAL, see the HTML API

documentation and the API source code: