asyn-rs 0.6.1

Rust port of EPICS asyn - async device I/O framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::error::AsynResult;
use crate::user::AsynUser;

/// Digital I/O with bit mask (asynUInt32Digital equivalent).
pub trait AsynUInt32Digital: Send + Sync {
    fn read_uint32_digital(&mut self, user: &AsynUser, mask: u32) -> AsynResult<u32>;
    fn write_uint32_digital(
        &mut self,
        user: &mut AsynUser,
        value: u32,
        mask: u32,
    ) -> AsynResult<()>;
}