1// Licensed under the Apache License, Version 2.0 or the MIT License.
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// Copyright Tock Contributors 2022.
45//! Public traits for interfaces between Tock components.
67pub mod adc;
8pub mod analog_comparator;
9pub mod ble_advertising;
10pub mod bus8080;
11pub mod buzzer;
12pub mod can;
13pub mod crc;
14pub mod dac;
15pub mod date_time;
16pub mod digest;
17pub mod eic;
18pub mod entropy;
19pub mod ethernet;
20pub mod flash;
21pub mod gpio;
22pub mod gpio_async;
23pub mod hasher;
24pub mod hw_debug;
25pub mod i2c;
26pub mod kv;
27pub mod led;
28pub mod log;
29pub mod nonvolatile_storage;
30pub mod public_key_crypto;
31pub mod pwm;
32pub mod radio;
33pub mod rng;
34pub mod screen;
35pub mod sensors;
36pub mod servo;
37pub mod spi;
38pub mod symmetric_encryption;
39pub mod text_screen;
40pub mod time;
41pub mod touch;
42pub mod uart;
43pub mod usb;
44pub mod usb_hid;
4546/// Shared interface for configuring components.
47pub trait Controller {
48type Config;
4950fn configure(&self, _: Self::Config);
51}