#include "common_data.h"
#include "no_os_error.h"
Go to the source code of this file.
◆ basic_pqm_firmware()
int basic_pqm_firmware |
( |
| ) |
|
PQM example main execution.
- Returns
- If working correctly, will execute continuously function iio_app_run and will not return.
◆ close_pqm_channels()
int32_t close_pqm_channels |
( |
void * |
dev | ) |
|
close all channels
- Parameters
-
dev | - physical instance of an pqm device |
- Returns
- 0 in case of success.
◆ pqm_init()
Initialize pqm descriptor.
- Parameters
-
desc | Object descriptor |
param | Initializing paramters |
- Returns
- Return 0 on success, different from 0 otherwise
◆ pqm_remove()
int32_t pqm_remove |
( |
struct pqm_desc * |
desc | ) |
|
Remove pqm descriptor.
- Parameters
-
desc | Frees up memory space allocated for descriptor |
- Returns
- Return 0 on success, different from 0 otherwise
◆ update_pqm_channels()
int32_t update_pqm_channels |
( |
void * |
dev, |
|
|
uint32_t |
mask |
|
) |
| |
active pqm channels
- Parameters
-
dev | - descriptor for the pqm |
mask | - active channels mask |
- Returns
- 0 in case of success, -1 otherwise.