Sha256: 62243f956a7df64c6e68c601aea1d72989ef22d4f21181e2e4a972d5cdb69c24
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
/* ========================================================================= CMock - Automatic Mock Generation for C ThrowTheSwitch.org Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c |
ceedling-1.0.0 | vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c |