Crate tm4c_hal

source ·
Expand description

Generic implementation code for both TM4C123 and TM4C129.

Modules

  • Code to handle bit-banding.
  • Code for busy-waiting
  • Code for the EEProm module.
  • Code for GPIO pins
  • Common I2C code for TM4C123 and TM4C129
  • Serial code that is generic to both the TM4C123 and TM4C129, such as the pin traits.
  • Code for the System Control module.
  • Time units

Macros

  • ! An internal macro to implement the GPIO functionality for each port
  • Spins until the controler is ready (mcs.busy is clear) and optionally on another field of the mcs register until it is clear or set (depending on op parameter).
  • Implements embedded-hal for an TM4C I2C peripheral
  • Implements the traits for an I2C peripheral
  • ! An internal macro to implement the UART functionality for each peripheral
  • ! An internal macro to help define all the different pin typestates
  • ! An internal macro to generate the UART traits