Expand description
Microcontroller clock output (MCO).
The MCO output is configured after crate::rcc::init, because it borrows
the pin that carries the signal. The driver writes RCC_CFGR0.MCO and
switches the pin to alternate-function push-pull; it does not change the
clock tree.
Pin assignment differs across the series:
| Family | Pin |
|---|---|
| CH32V1/V2/V3/V4, CH32L1 | PA8 |
| CH32V0 | PC4 |
| CH32X0, CH643 | PB9 |
| CH641 | PB7 |
| CH32H4 | PB0 (AF0) |
The valid pins come from the ch32-data pin tables; the McoPin impls are
generated by build.rs.
Structs§
- Mco
- MCO output driver.
Enums§
- McoSource
- Microcontroller clock output.
Traits§
- McoPin
- Pin that can carry the MCO signal.