RTEMS 6.3
Loading...
Searching...
No Matches

Tests some GRLIB directives. More...

Files

file  testsuites/validation/tc-dev-grlib-io.c

Functions

 T_TEST_CASE (DevGrlibValIo)

Detailed Description

Tests some GRLIB directives.

This test case performs the following actions:

  • Call grlib_load_8() to load a prepared value.
    • Check that the returned value is equal to the prepared value.
  • Call grlib_load_16() to load a prepared value.
    • Check that the returned value is equal to the prepared value.
  • Call grlib_load_32() to load a prepared value.
    • Check that the returned value is equal to the prepared value.
  • Call grlib_load_64() to load a prepared value.
    • Check that the returned value is equal to the prepared value.
  • Call grlib_store_8() to store a value to an object.
    • Check that the value of the object is equal to the stored value.
  • Call grlib_store_16() to store a value to an object.
    • Check that the value of the object is equal to the stored value.
  • Call grlib_store_32() to store a value to an object.
    • Check that the value of the object is equal to the stored value.
  • Call grlib_store_64() to store a value to an object.
    • Check that the value of the object is equal to the stored value.
  • Call apbuart_outbyte_polled() to store a character to the data register. The transmitter FIFO shall be initially non-empty. The status is checked by apbuart_outbyte_wait().
    • Check that the transmitter FIFO empty flag was set by ApbuartIORelax().
    • Check that the data register was written by apbuart_outbyte_polled().