User ManualTable of ContentsTITLE PAGE1CONTENTS4LIST OF FIGURES10LIST OF TABLES11About this Manual and S/UNI-4x6222Figure 1: Driver External Interfaces 1411Introduction13Software Architecture14Driver External Interfaces14Main Components15Software States19Processing Flows21Interrupt Servicing22Data Structures26Constants26Structures Passed by the Application26Structures in the Driver’s Allocated Memory33Structures Passed through RTOS Buffers50Global Variable51Application Programming Interface52Module Management52Profile Management54Device Management55Device Read and Write59Section Overhead (SOH)61Line Overhead (LOH)64Path Overhead (RPOH, TPOH)68Payload Processor74Interface Configuration74Automatic Protection Configuration78Interrupt Service Functions79Alarm, Status and Counts Functions96Device Diagnostics101Callback Functions103Hardware Interface108Device I/O108System-Specific Interrupt Servicing109RTOS Interface112Memory Allocation / De-Allocation112Buffer Management113Timers115Preemption116Porting the S/UNI-4x622 Driver117Driver Source Files117Driver Porting Procedures117Appendix A: Coding Conventions121Appendix B: Error Codes125Appendix C: S/UNI-4x622 Events126List of Terms130Acronyms131Index132Size: 584 KBPages: 136Language: EnglishOpen manual