#[repr(C)]pub struct __ADC_HandleTypeDef {
pub Instance: *mut ADC_TypeDef,
pub Init: ADC_InitTypeDef,
pub DMA_Handle: *mut DMA_HandleTypeDef,
pub Lock: HAL_LockTypeDef,
pub State: u32,
pub ErrorCode: u32,
}Expand description
@brief ADC handle Structure definition
Fields§
§Instance: *mut ADC_TypeDef< Register base address
Init: ADC_InitTypeDef< ADC required parameters
DMA_Handle: *mut DMA_HandleTypeDef< Pointer DMA Handler
Lock: HAL_LockTypeDef< ADC locking object
State: u32< ADC communication state (bitmap of ADC states)
ErrorCode: u32< ADC Error code
Trait Implementations§
Source§impl Clone for __ADC_HandleTypeDef
impl Clone for __ADC_HandleTypeDef
Source§fn clone(&self) -> __ADC_HandleTypeDef
fn clone(&self) -> __ADC_HandleTypeDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for __ADC_HandleTypeDef
Auto Trait Implementations§
impl !Send for __ADC_HandleTypeDef
impl !Sync for __ADC_HandleTypeDef
impl Freeze for __ADC_HandleTypeDef
impl RefUnwindSafe for __ADC_HandleTypeDef
impl Unpin for __ADC_HandleTypeDef
impl UnsafeUnpin for __ADC_HandleTypeDef
impl UnwindSafe for __ADC_HandleTypeDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more