1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * File: lib.rs
 * Project: src
 * Created Date: 29/08/2023
 * Author: Shun Suzuki
 * -----
 * Last Modified: 02/12/2023
 * Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
 * -----
 * Copyright (c) 2023 Shun Suzuki. All rights reserved.
 *
 */

#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

pub mod acoustics;
pub mod autd3_device;
pub mod common;
pub mod cpu;
pub mod datagram;
pub mod defined;
pub mod error;
pub mod firmware_version;
pub mod fpga;
pub mod geometry;
pub mod link;
pub mod operation;
pub mod osal_timer;
pub mod sync_mode;
pub mod timer_strategy;

pub mod derive {
    pub mod prelude {
        pub use crate::{
            common::{Drive, EmitIntensity, Phase, Rad, SamplingConfiguration},
            datagram::{Datagram, Gain, GainAsAny, GainFilter, Modulation, ModulationProperty},
            defined::float,
            error::AUTDInternalError,
            fpga::{FPGA_CLK_FREQ, SAMPLING_FREQ_DIV_MIN},
            geometry::{Geometry, Transducer},
            operation::{GainOp, ModulationOp, NullOp, Operation},
        };
    }
}