Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • dn_uart.h: these functions allow the
    Include Page
    _def_clib
    _def_clib
     to send bytes over the serial port, and receive bytes from the serial port. A "flush" function is provided in case the serial (UART) driver of your platform is buffer-oriented rather than byte-oriented, e.g. if the serial port is driven through a DMA module.  The
    Include Page
    _def_clib
    _def_clib
     doesn't handle flow control - the mote doesn't need it when your microcontroller is sending incoming flow control (the UART_RX_CTSn and UART_RX_RTSn lines) when your microcontroller is sending .  You will need to monitor UART_TX_RTSn and assert/de-assert UART_TX_CTSn as part of your application if your microcontroller cannot wake on data
  • dn_lock.h: these functions allow the
    Include Page
    _def_clib
    _def_clib
     to operate in a multi-threaded environment. If this is the case in your system, your implementation of these functions would typically consist is pending/posting a mutual exclusion semaphore (mutex). You can use stub functions (i.e. empty functions) if the
    Include Page
    _def_clib
    _def_clib
     does not operate in a multi-threaded environment.

...