PRIME Serial Interface for IEC-432.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
#include "conf_usi.h"
#include "serial_432_if.h"
#include <stdio.h>
#include "string.h"
#include "usi.h"
#include "conf_board.h"
#include "sscs432.h"
#include "dl432.h"
Functions | |
static int8_t | _sscs432_Pack_432Msg (dl432_LlcCallback_t *callCmd) |
Packs a 432 message. More... | |
static int8_t | _sscs432_Pack_432NotBase (sscs432_NotBase_t *ptrNotBase) |
Packs a 432 message. More... | |
static int8_t | _sscs432_Pack_432NotService (sscs432_NotService_t *ptrNotService) |
Packs a 432 message. More... | |
static int | _sscs432_Unpack_Cl432EstablishRequest (void) |
This function extracts the 432 SAP Establish.Request. More... | |
static int | _sscs432_Unpack_Cl432ReleaseRequest (void) |
This function extracts the 432 SAP Release.Request. More... | |
static int | _sscs432_Unpack_Dl432BroadcastRequest (void) |
This function extracts the 432 SAP Broadcast.Request. More... | |
static int | _sscs432_Unpack_Dl432DataRequest (void) |
This function extracts the 432 SAP Data.Request. More... | |
static int | _sscs432_Unpack_Dl432ReplyRequest (void) |
This function extracts the 432 SAP Reply.Request. More... | |
static int | _sscs432_Unpack_Dl432UpdateReplyRequest (void) |
This function extracts the 432 SAP Update Reply.Request. More... | |
uint8_t | serial_432_if_api_parser (uint8_t *puc_rx_msg, uint16_t us_len) |
Received message. More... | |
int8_t | serial_432_if_api_process (void) |
Function to encapsulate 432 Tx Control Process. More... | |
Variables | |
static dl432_LlcCallback_t | callBackCmd |
static uint8_t | puc_sscs432_cmd_to_pack [SSCS432_DATA_SIZE] |
static uint8_t | puc_sscs432_tx_buff [SSCS432_DATA_SIZE] |
static uint8_t * | rxPtr |
static uint16_t | txLen |
static sscs432_NotBase_t | x_base_not |
static sscs432_NotService_t | x_service_not |