Tests some GRLIB directives.
More...
|
| T_TEST_CASE (DevGrlibValIo) |
|
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().