Wookey Logo
0.9

Table of Contents

  • 1. About the WooKey project
  • 2. Quickstart
  • 3. Demo applications
  • 4. Wookey architecture
  • 5. EwoK kernel
  • 6. Libraries
  • 7. Drivers
    • 7.1. drivers/can
    • 7.2. drivers/cryp
    • 7.3. drivers/flash
    • 7.4. drivers/hash
    • 7.5. drivers/iso7816
    • 7.6. drivers/spi
    • 7.7. drivers/usart
      • 7.7.1. About the USART principle
      • 7.7.2. The drvUsart API
      • 7.7.3. FAQ
    • 7.8. drivers/ili9341
  • 8. Javacard Applets
  • 9. Tataouine SDK
  • 10. Hardware
  • 11. Publications
  • 12. Roadmap
Wookey
  • Docs »
  • 7. Drivers »
  • 7.7. The USART driver

7.7. The USART driver¶

This library is an implementation of the STM32F4 U(S)ART hardware devices.

It provide a light abstraction for all the SoC U(S)ART devices in order to map and manipulate a serial interface in a userspace task.

Table of Contents¶

  • 7.7.1. About the USART principle
    • 7.7.1.1. Principles
  • 7.7.2. The drvUsart API
    • 7.7.2.1. Initializing the USART driver
    • 7.7.2.2. Mapping and unmapping the USART device
    • 7.7.2.3. Enabling and disabling a device
    • 7.7.2.4. Writing and reading from usart
  • 7.7.3. FAQ
    • 7.7.3.1. Can I declare multiple U(S)ART devices in the same time ?
    • 7.7.3.2. In voluntary mode where only my ISR handle the device, should I keep (un)mapping the device ?
Next Previous

© Copyright 2019, ANSSI