Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92682352
sbcp_host.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 22, 17:49
Size
697 B
Mime Type
text/x-c
Expires
Sun, Nov 24, 17:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22442779
Attached To
R6617 Oncilla SBCP Master Firmware
sbcp_host.h
View Options
#ifndef SBCP_MASTER_SBCP_HOST_H_
#define SBCP_MASTER_SBCP_HOST_H_
#include "packet.h"
#define SBCP_MAX_PAYLOAD_SIZE (SBCP_PACKET_SIZE - SBCP_HEADER_SIZE )
//init all data
void init_sbcp_host();
//main function to process the host rx state machine
void sbcp_process_host_rx();
//main function to process the host tx
void sbcp_process_host_tx();
/**
* Gets the next available received packet.
* \return 0 if no packet available or address to the next available packet
*/
volatile packet_mdata * next_host_packet();
/**
* Releases the received packet. data should will be considered unsafe.
*/
void release_host_packet(volatile packet_mdata *);
#endif //SBCP_MASTER_SBCP_HOST_RX_H_
Event Timeline
Log In to Comment