|
Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
| struct | RX_Dev_State_t |
| A structure to represent RX device state. More... | |
| struct | RX_Device_t |
| A structure to represent RX device driver. More... | |
Typedefs | |
| typedef const struct RX_Device_t | RX_Device_Type |
| typedef void(* | rx_cb_func_t) (RX_Device_Type *dev) |
| typedef const struct RX_Device_t | RX_Device_t |
| A structure to represent RX device driver. More... | |
Functions | |
| RX_Device_t * | RX_devRequest (void) |
| Request a RX device. More... | |
| int32_t | RX_devInit (RX_Device_t *dev, uint8_t bytes, DCM_FMT_t fmt) |
| Initialize RX device. More... | |
| int32_t | RX_devGetReceivedData (RX_Device_t *dev, uint8_t *data, uint32_t len) |
| Send data to RX device. More... | |
| int32_t | RX_devStop (RX_Device_t *dev) |
| Stop Receiver. More... | |
| int32_t | RX_devRegisterCallback (RX_Device_t *dev, void *cb) |
| Register a call back function to RX device driver. More... | |
| int32_t | RX_devUnregisterCallback (RX_Device_t *dev) |
| Un-Register a call back function to RX device driver. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
| typedef void(* rx_cb_func_t) (RX_Device_Type *dev) |
| typedef const struct RX_Device_t RX_Device_t |
A structure to represent RX device driver.
| typedef const struct RX_Device_t RX_Device_Type |
| int32_t RX_devGetReceivedData | ( | RX_Device_t * | dev, |
| uint8_t * | data, | ||
| uint32_t | len | ||
| ) |
Send data to RX device.
| dev | Pointer to RX Device structure. |
| data | Pointer to the data memory to save the received data. |
| len | The size of the data memory. |
| int32_t RX_devInit | ( | RX_Device_t * | dev, |
| uint8_t | bytes, | ||
| DCM_FMT_t | fmt | ||
| ) |
Initialize RX device.
| dev | Pointer to RX Device structure |
| bytes | The number of bytes expect to receive, the message length. |
| fmt | The enum for the duty-cycle modulation format. |
| int32_t RX_devRegisterCallback | ( | RX_Device_t * | dev, |
| void * | cb | ||
| ) |
Register a call back function to RX device driver.
| dev | Pointer to RX Device structure |
| cb | The pointer to the call back function. |
| RX_Device_t* RX_devRequest | ( | void | ) |
Request a RX device.
| int32_t RX_devStop | ( | RX_Device_t * | dev | ) |
Stop Receiver.
| dev | Pointer to RX Device structure. |
| int32_t RX_devUnregisterCallback | ( | RX_Device_t * | dev | ) |
Un-Register a call back function to RX device driver.
| dev | Pointer to RX Device structure |
1.8.9.1