pub struct _vftable_HardwareSerial4 {
pub _base: _vftable_HardwareSerial,
pub begin: unsafe extern fn(this: *mut c_void, baud: u32),
pub begin1: unsafe extern fn(this: *mut c_void, baud: u32, format: u32),
pub end: unsafe extern fn(this: *mut c_void),
pub transmitterEnable: unsafe extern fn(this: *mut c_void, pin: u8),
pub setRX: unsafe extern fn(this: *mut c_void, pin: u8),
pub setTX: unsafe extern fn(this: *mut c_void, pin: u8, opendrain: bool),
pub attachRts: unsafe extern fn(this: *mut c_void, pin: u8) -> bool,
pub attachCts: unsafe extern fn(this: *mut c_void, pin: u8) -> bool,
pub available: unsafe extern fn(this: *mut c_void) -> i32,
pub peek: unsafe extern fn(this: *mut c_void) -> i32,
pub read: unsafe extern fn(this: *mut c_void) -> i32,
pub flush: unsafe extern fn(this: *mut c_void),
pub clear: unsafe extern fn(this: *mut c_void),
pub availableForWrite: unsafe extern fn(this: *mut c_void) -> i32,
pub write: unsafe extern fn(this: *mut c_void, c: u8) -> usize,
pub write1: unsafe extern fn(this: *mut c_void, n: u32) -> usize,
pub write2: unsafe extern fn(this: *mut c_void, n: i32) -> usize,
pub write3: unsafe extern fn(this: *mut c_void, n: u32) -> usize,
pub write4: unsafe extern fn(this: *mut c_void, n: i32) -> usize,
pub write5: unsafe extern fn(this: *mut c_void, buffer: *const u8, size: usize) -> usize,
pub write6: unsafe extern fn(this: *mut c_void, str: *const u8) -> usize,
pub write9bit: unsafe extern fn(this: *mut c_void, c: u32) -> usize,
}
Fields
_base: _vftable_HardwareSerial
begin: unsafe extern fn(this: *mut c_void, baud: u32)
begin1: unsafe extern fn(this: *mut c_void, baud: u32, format: u32)
end: unsafe extern fn(this: *mut c_void)
transmitterEnable: unsafe extern fn(this: *mut c_void, pin: u8)
setRX: unsafe extern fn(this: *mut c_void, pin: u8)
setTX: unsafe extern fn(this: *mut c_void, pin: u8, opendrain: bool)
attachRts: unsafe extern fn(this: *mut c_void, pin: u8) -> bool
attachCts: unsafe extern fn(this: *mut c_void, pin: u8) -> bool
available: unsafe extern fn(this: *mut c_void) -> i32
peek: unsafe extern fn(this: *mut c_void) -> i32
read: unsafe extern fn(this: *mut c_void) -> i32
flush: unsafe extern fn(this: *mut c_void)
clear: unsafe extern fn(this: *mut c_void)
availableForWrite: unsafe extern fn(this: *mut c_void) -> i32
write: unsafe extern fn(this: *mut c_void, c: u8) -> usize
write1: unsafe extern fn(this: *mut c_void, n: u32) -> usize
write2: unsafe extern fn(this: *mut c_void, n: i32) -> usize
write3: unsafe extern fn(this: *mut c_void, n: u32) -> usize
write4: unsafe extern fn(this: *mut c_void, n: i32) -> usize
write5: unsafe extern fn(this: *mut c_void, buffer: *const u8, size: usize) -> usize
write6: unsafe extern fn(this: *mut c_void, str: *const u8) -> usize
write9bit: unsafe extern fn(this: *mut c_void, c: u32) -> usize