123: dacs: clr_n high, ldac_n low r=jordens a=jordens

close #122 

Co-authored-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
bors[bot] 2020-06-23 13:04:26 +00:00 committed by GitHub
commit 24324f9638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -325,6 +325,12 @@ const APP: () = {
spi spi
}; };
let _dac_clr_n = gpioe.pe12.into_push_pull_output().set_high().unwrap();
let _dac0_ldac_n =
gpioe.pe11.into_push_pull_output().set_low().unwrap();
let _dac1_ldac_n =
gpioe.pe15.into_push_pull_output().set_low().unwrap();
let dac0_spi = { let dac0_spi = {
let spi_miso = gpioe let spi_miso = gpioe
.pe5 .pe5