Skip to content

Commit eb11a16

Browse files
author
Amanda Butler
authored
Update inputs_outputs_intro.md
Combine IO and interfaces intro
1 parent 8e3f2fb commit eb11a16

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/refs/api/drivers/inputs_outputs_intro.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
### Drivers
22

3-
Inputs and outputs on development boards are either analog or digital.
3+
Driver APIs include analog and digital inputs and outputs on development boards, as well as digital interfaces, which allow your board to interface with a computer or external devices. With these drivers, you can read or set the voltage of analog pins, control digital pins individually or as a grouped value and trigger an event when a digital input pin changes value. You can also control the frequency and mark to space ratio of a digital pulse wave (or train).
44

55
#### Analog I/O
66

7-
These APIs read or set the voltage of analog pins:
8-
97
* [AnalogIn](AnalogIn.md): read the voltage of an analog input pin.
108
* [AnalogOut](AnalogOut.md): set the voltage of an analog output pin.
119

@@ -37,3 +35,14 @@ You can control the digital pins individually or as a grouped value.
3735
##### PwmOut
3836

3937
[PwmOut](PwmOut.md) controls the frequency and mark to space ratio of a digital pulse wave (or train).
38+
39+
#### Digital interfaces
40+
41+
* [Serial](digital/Serial.md): generic asynchronous protocol.
42+
* SPI: serial peripheral interface:
43+
* [SPI](digital/SPI.md): master.
44+
* [SPISlave](digital/SPISlave.md): slave.
45+
* I2C: inter-integrated circuit:
46+
* [I2C](digital/I2C.md): master.
47+
* [I2CSlave](digital/I2CSlave.md): slave.
48+
* [CAN](digital/CAN.md): connect two devices without using a computer.

0 commit comments

Comments
 (0)