Some ideas for HAL-C application on DSP

xiaoxiao2021-03-06  42

With DTA PIPES / or STREAM function, we can achieve the above HAL-C API. HalcGetendPoint It is to make HC get a named terminal handle, and then this handle will be used as an operation interface by other operations of the HAL-C API. We use PIP to assign one or several frame for each endpoint, which represents the address of the upcoming terminal. HALCSEND is a method of sending data (HC). We use the PIP_ALOC function to implement the HC transmission data, and the specific sending address is directed by the pipe. HALCRECEIVE is a connection-oriented module that implements the receiving function. We use the PIP_GET feature to achieve, from where data is locked by the pipe. When the HalcRegisterCallback callback function does not have a component receive call, the HalcRegisterCallback callback function provides a tool for transmitting data in the base structure image component. These data may come from some special terminals, or in other ways in the implementation of the base structure, such as events, errors, and more. Under the driving of some events, the base structure is transmitted to the component, and like, we can also use the pipeline method to send the event information to the terminal through the pipeline. For data transmission of components between different DSPs, EndPoint can be used to point to another DSP, (put one of them as an peripheral device of another piece), and then communicate with the HWI SWI.

转载请注明原文地址:https://www.9cbs.com/read-47589.html

New Post(0)