This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use core::{ | |
marker::PhantomData, | |
mem::MaybeUninit, | |
ops::{Mul, Sub}, | |
ptr::{self, NonNull}, | |
}; | |
use crate::board::mcu::dmac; | |
use generic_array::{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod mcu { | |
extern crate atsamd_hal as hal; | |
pub use hal::target_device::*; | |
pub use hal::*; | |
} | |
pub fn configure_eic(pm: &mut mcu::PM, clocks: &mut mcu::clock::GenericClockController, eic: &mut mcu::EIC) { | |
pm.apbamask.modify(|_, w| w.eic_().set_bit()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"StartAt": "RegisterBuildkiteAgents", | |
"TimeoutSeconds": 1800, | |
"States": { | |
"RegisterBuildkiteAgents": { | |
"Type": "Pass", | |
"Result": { | |
"TaskDefinitions": { | |
"Definitions": [], | |
"Count": 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
pipe_source.m | |
clang pipe_source.m -o pipe -framework Foundation -D [ USE_SOURCE | USE_IO | USE_FILEHANDLE [ FILEHANDLE_READABILITY | FILEHANDLE_WAIT ] ] | |
*/ | |
#import <Foundation/Foundation.h> | |
int main(void) { | |
enum RunLoop { |