Changes between Initial Version and Version 1 of SrlApi


Ignore:
Timestamp:
Jan 31, 2007, 6:54:52 PM (17 years ago)
Author:
Nicolas Pouillon
Comment:

TBC

Legend:

Unmodified
Added
Removed
Modified
  • SrlApi

    v1 v1  
     1= SrlApi =
     2
     3Srl API is your gateway to software resources.
     4
     5== Log API ==
     6
     7Log API let you define message levels. Levels allow you to let your debug code in the source, and only compile it when needed.
     8
     9 * {{{srl_log(level, "message")}}} prints a message
     10 * {{{srl_log_printf(level, "message_with_format", arguments)}}} prints a printf-like message
     11
     12== Mwmr fifos API ==
     13
     14 * {{{srl_mwmr_read(fifo, buffer, size)}}} reads {{{size}}} 32-bit words from fifo to buffer. {{{size}}} must be a multiple of fifo width.
     15 * {{{srl_mwmr_write(fifo, buffer, size)}}} writes {{{size}}} 32-bit words from buffer to fifo. {{{size}}} must be a multiple of fifo width.