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.29.1 vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c
ceedling-0.29.0 vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c
ceedling-0.18.0 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.17.0 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.16.0 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.6 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.5 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.4 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.3 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.2 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.1 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.15.0 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.13.0 vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c
ceedling-0.12.2 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.12.1 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.12.0 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.11.2 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.11.1 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.11.0 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c
ceedling-0.10.0 examples/temp_sensor/test/test_UsartTransmitBufferStatus.c