Peripherals Guide
ameba_hal wraps RTL8721F’s peripheral register blocks directly through the svd2rust-generated PAC, with no raw bit-masking or C FFI involved. Each driver exposes whatever combination of Blocking, Async, DMA, and Interrupt operation the underlying hardware actually supports, and implements the matching embedded-hal / embedded-hal-async traits where such a trait exists. The pages below cover each peripheral’s concepts and usage.