*********************************************************************************************************************************
CoaXPressHost Driver Release Notes
*********************************************************************************************************************************
Driver Name : CoaXPressHost
*********************************************************************************************************************************
*********************************************************************************************************************************
Version No : 1.0.0
*********************************************************************************************************************************
*********************************************************************************************************************************
 
Notes:


*********************************************************************************************************************************
*********************************************************************************************************************************
Introduction:

CoaXPressHost Driver has the modules for communicating between CoaXPress Host and CoXPress Device

*********************************************************************************************************************************
*********************************************************************************************************************************

Modules:

1. void send_read_cmd(uint32_t crc_buffer[], uint32_t host_cmd_address, uint8_t tag, uint16_t size)

Arguments:

uint32_t crc_buffer[] 			- Command data from Host to Device
uint32_t host_cmd_address		- Address where read should happen
uint8_t tag						- tag value
uint16_t size					- Size of the command

Purpose:
send_read_cmd() is used to read the value from Device Bootstrap registers or User manufacture specific registers.

Example:
Reading CoaXPress Standard from Device.


2. void send_write_cmd(uint32_t crc_buffer[], uint32_t host_cmd_address, uint32_t host_cmd_wdata, uint8_t tag, uint16_t size)

Arguments:

uint32_t crc_buffer[] 			- Command data from Host to Device
uint32_t host_cmd_address		- Address where write should happen
uint32_t host_cmd_wdata			- Write data from Host to Device
uint8_t tag						- tag value
uint16_t size					- Size of the command

Purpose:
send_write_cmd() is used to write the value to Device Bootstrap registers or User manufacture specific registers.

Example:
Writing to CoaXPress Bootstrap register Reset from Host.


3. uint8_t receive_resp_cmd(uint32_t rd_pkt[])

Arguments:

uint32_t rd_pkt[] 			    - Read Data from Device

Purpose:
receive_resp_cmd() is used to read data from Device like XML file data.
rd_pkt[0] - first location tells the size of the response command from device

Example:
Reading XML data from Device.

4. void update_hdmi_xcvr_speed(uint32_t gpio_status)

Arguments:

uint32_t gpio_status			- GPIO switch to select between 4K and Full HD resolution

Purpose:

update_hdmi_xcvr_speed() is used to select the resolution 4K or Full HD.


5. void update_cxp_xcvr_uplink_speed(uint8_t data)

Arguments:

uint8_t data			- Rate to which device has to set

Purpose:

update_cxp_xcvr_uplink_speed() is used to set the device uplink speed/rate
