Sha256: 210d8314f1f2bae369c896ec5fe5d8460f224dd50879fa53c7192d7ea7192cea

Contents?: true

Size: 416 Bytes

Versions: 37

Compression:

Stored size: 416 Bytes

Contents

#include "unity.h"
#include "Types.h"
#include "UsartTransmitBufferStatus.h"

AT91S_USART Usart0Peripheral;

void setUp(void)
{
}

void tearDown(void)
{
}

void testReadyToTransmitShouldReturnStatusPerTransmitBufferReadyStatus(void)
{
  AT91C_BASE_US0->US_CSR = 0;
  TEST_ASSERT(!Usart_ReadyToTransmit());
  
  AT91C_BASE_US0->US_CSR = AT91C_US_TXRDY;
  TEST_ASSERT(Usart_ReadyToTransmit());
}

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
ceedling-0.9.4 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.9.2 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.9.0 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.18 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.17 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.16 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.15 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.14 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.13 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.12 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.8 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.7 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.5 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.4 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.3 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.0.2 new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.0.1 new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c