#include <stdbool.h>
#include <stdint.h>
#include <FreeRTOS.h>
#include <semphr.h>
#include <hal.h>
Go to the source code of this file.
|
| #define | DAC_ALREDY_INITED 1 |
| |
| #define | dac_lock(u, w, r) |
| |
| #define | dac_unlock(u, r) |
| |
| #define | DAC_ADDDEV(ns, p) HAL_ADDDEV(dac, ns, p) |
| |
| #define | DAC_GET_DEV(index) HAL_GET_DEV(dac, index) |
| |
| #define | DAC_OPS(ns) |
| |
| #define | DAC_INIT_DEV(ns) |
| |
| #define | DAC_INIT(ns, index, bits) struct dac *dac_init(uint32_t index, uint8_t bits) |
| |
| #define | DAC_DEINIT(ns, a) int32_t dac_deinit(struct dac *a) |
| |
| #define | DAC_SET(ns, a, d, waittime) int32_t dac_set(struct dac *a, uint32_t d, TickType_t waittime) |
| |
| #define | DAC_SET_ISR(ns, a, d) int32_t dac_setISR(struct dac *a, uint32_t d) |
| |
◆ DAC_ADDDEV
| #define DAC_ADDDEV |
( |
|
ns, |
|
|
|
p |
|
) |
| HAL_ADDDEV(dac, ns, p) |
◆ DAC_ALREDY_INITED
| #define DAC_ALREDY_INITED 1 |
◆ DAC_DEINIT
| #define DAC_DEINIT |
( |
|
ns, |
|
|
|
a |
|
) |
| int32_t dac_deinit(struct dac *a) |
◆ DAC_GET_DEV
◆ DAC_INIT
| #define DAC_INIT |
( |
|
ns, |
|
|
|
index, |
|
|
|
bits |
|
) |
| struct dac *dac_init(uint32_t index, uint8_t bits) |
◆ DAC_INIT_DEV
| #define DAC_INIT_DEV |
( |
|
ns | ) |
|
◆ dac_lock
| #define dac_lock |
( |
|
u, |
|
|
|
w, |
|
|
|
r |
|
) |
| |
◆ DAC_OPS
◆ DAC_SET
| #define DAC_SET |
( |
|
ns, |
|
|
|
a, |
|
|
|
d, |
|
|
|
waittime |
|
) |
| int32_t dac_set(struct dac *a, uint32_t d, TickType_t waittime) |
◆ DAC_SET_ISR
| #define DAC_SET_ISR |
( |
|
ns, |
|
|
|
a, |
|
|
|
d |
|
) |
| int32_t dac_setISR(struct dac *a, uint32_t d) |
◆ dac_unlock
| #define dac_unlock |
( |
|
u, |
|
|
|
r |
|
) |
| |
◆ dac_generic_init()
| int32_t dac_generic_init |
( |
struct dac * |
dac | ) |
|
◆ HAL_DEFINE_GLOBAL_ARRAY()
| HAL_DEFINE_GLOBAL_ARRAY |
( |
dac |
| ) |
|