pub fn write_all(&mut self, input: &[u8; 128]) {
		for i in 0..128 {
			self.address_port.write(i);
			self.data_port.write(input[i as usize]);
		}
	}
/// Writes to all the registers in CMOS
/// # Examples
/// Writes all 0's, probably not a best idea to actually do this
/// ```rust,no_run
/// # use cmos::{CMOS, CMOSCenturyHandler};
/// let mut cmos = unsafe { CMOS::new() };
/// // Example values to write (don't do this!)
/// let values: [u8; 128] = [0; 128];
/// // Writes values to all CMOS registers
/// cmos.write_all(&values);
/// ```
Writes to all the registers in CMOS
Writes to all the registers in CMOS
pub fn write_all(&mut self, input: &[u8; 128]) {
		for i in 0..128 {
			self.address_port.write(i);
			self.data_port.write(input[i as usize]);
		}
	}
pub fn write_all ( & mut self , input : & [ u8 ; 128 ] ) { for i in 0 .. 128 { self . address_port . write ( i ) ; self . data_port . write ( input [ i as usize ] ) ; } }
Writes to all the registers in CMOS
Writes to all the registers in CMOS
&mut self
input
&[u8; 128]
&mut self
input
&[u8; 128]
examples
Writes all 0's, probably not a best idea to actually do this
```rust,no_run
Writes all 0 ' s probably not a best idea to actually do this ` ` ` rust no_run
use cmos::{cmos, cmoscenturyhandler};
let mut cmos = unsafe { CMOS::new() };
Example values to write (don't do this!)
let values: [u8; 128] = [0; 128];
Writes values to all CMOS registers
cmos.write_all(&values);
```
let mut cmos = unsafe { CMOS :: new () } ; Example values to write ( don ' t do this! ) let values : [ u8 ; 128 ] = [ 0 ; 128 ] ; Writes values to all CMOS registers cmos . write_all ( &values ) ; ` ` `