13 #ifndef ISF_CI_STREAM_H_
14 #define ISF_CI_STREAM_H_
93 #define CI_STATUS_STREAM_SPECIFIC_STATUS (0xBF) // Bit6 cleared
94 #define CI_STATUS_STREAM_SPECIFIC_ERROR (0x40) // Bit6 set
178 #define STREAM_CRC_ENABLED (1)
179 #define STREAM_CRC_DISABLED (0)
215 typedef struct __attribute__ ((__packed__)) _ci_stream_config
713 #endif // ISF_CI_STREAM_H_
unsigned char uint8
This defines uint8 as unsigned char.
isf_status_t isf_ci_stream_reset_trigger(uint8 aStreamID)
This API resets the trigger bits of the the given stream ID.
unsigned long uint32
This defines uint32 as unsigned long.
ci_stream_config_t * isf_ci_stream_get_first(void)
This API returns the configuration of the first stream in the linked list.
ci_stream_config_t * isf_ci_stream_get_config(uint8 aStreamID)
This API gets the stream configuration of the specified stream ID.
ci_stream_config_t * isf_ci_stream_get_next(void)
This API returns the configuration of the next stream in the linked list.
isf_status_t isf_ci_stream_delete(uint8 aStreamID)
This API deletes the given stream ID.
uint8 isf_ci_stream_get_num_streams(void)
This API returns the number of streams.
void isf_ci_stream_set_CRC(boolean acrcEnable)
This API sets the cyclic redundancy check (CRC) code generation to the requested state.
isf_status_t isf_ci_stream_create(uint8 aStreamID, uint8 aNumElements, uint8 *apTriggerMask, ci_stream_element_t *apElementList)
This API creates a stream.
#define CI_STATUS_STREAM_SPECIFIC_ERROR
Main ISF header file. Contains code common to all ISF components.
#define CI_STATUS_STREAM_SPECIFIC_STATUS
These are the CI stream protocol errors provided to the host.
ci_commands_stream_enum
CI host stream command.
unsigned short uint16
This defines uint16 as unsigned short.
isf_status_t isf_ci_stream_get_trigger(uint8 aStreamID, uint8 *apTrigger)
This API returns the trigger state of the given stream ID.
int32 isf_status_t
ISF return status type.
struct __attribute__((__packed__)) _ci_stream_element
This structure contains the stream element information.
isf_status_t ci_protocol_CB_stream(uint32 anumBytes, uint8 *apSrc, uint32 *apnumDestBytes, uint8 *apDest)
This is a CI stream protocol callback function pointer.
isf_status_t isf_ci_stream_update_data(uint8 aDataSetID, uint16 aLength, uint16 aOffset, uint8 *apSrc)
This API updates the data of a dataset.
isf_status_t ci_stream_init(uint8 aprotocolID, void *apInitData)
This is a CI stream protocol intialization callback function pointer.