[−][src]Struct nvapi_sys::i2c::private::NV_I2C_INFO_EX_V3
Used in NvAPI_I2CRead() and NvAPI_I2CWrite()
Fields
version: u32
The structure version.
displayMask: u32
The Display Mask of the concerned display.
bIsDDCPort: u8
This flag indicates either the DDC port (TRUE) or the communication port (FALSE) of the concerned display.
i2cDevAddress: u8
The address of the I2C slave. The address should be shifted left by one. Fo example, the I2C address 0x50, often used for reading EDIDs, would be stored here as 0xA0. This matches the position within the byte sent by the master, the last bit is reserved to specify the read or write direction.
pbI2cRegAddress: *mut u8
The I2C target register address. May be NULL, which indicates no register address should be sent.
regAddrSize: u32
The size in bytes of target register address. If pbI2cRegAddress is NULL, this field must be 0.
pbData: *mut u8
The buffer of data which is to be read or written (depending on the command).
pbRead: u32
bytes to read ??? seems required on write too
cbSize: u32
The size of the data buffer, pbData, to be read or written.
i2cSpeedKhz: NV_I2C_SPEED
The target speed of the transaction in (kHz) (Chosen from the enum NV_I2C_SPEED
).
portId: u8
The portid on which device is connected (remember to set bIsPortIdSet if this value is set)
Optional for pre-Kepler
bIsPortIdSet: u32
set this flag on if and only if portid value is set
Implementations
impl NV_I2C_INFO_EX_V3
[src]
Trait Implementations
impl Clone for NV_I2C_INFO_EX_V3
[src]
fn clone(&self) -> NV_I2C_INFO_EX_V3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NV_I2C_INFO_EX_V3
[src]
impl Debug for NV_I2C_INFO_EX_V3
[src]
Auto Trait Implementations
impl RefUnwindSafe for NV_I2C_INFO_EX_V3
impl !Send for NV_I2C_INFO_EX_V3
impl !Sync for NV_I2C_INFO_EX_V3
impl Unpin for NV_I2C_INFO_EX_V3
impl UnwindSafe for NV_I2C_INFO_EX_V3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,