Sha256: 97db4fe3c762e48593838b8ff9ba20e08ce02ceb39bffa592b8691d850ecfe0f

Contents?: true

Size: 448 Bytes

Versions: 27

Compression:

Stored size: 448 Bytes

Contents

#include "Types.h"
#include "UsartHardware.h"
#include "UsartConfigurator.h"
#include "UsartPutChar.h"

void UsartHardware_Init(uint8 baudRateRegisterSetting)
{
  Usart_ConfigureUsartIO();
  Usart_EnablePeripheralClock();
  Usart_Reset();
  Usart_ConfigureMode();
  Usart_SetBaudRateRegister(baudRateRegisterSetting);
  Usart_Enable();
}

void UsartHardware_TransmitString(char* data)
{
  while(*data != NULL)
  {
    Usart_PutChar(*data++);
  }
}

Version data entries

27 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.31.1 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.31.1 examples/temp_sensor/src/UsartHardware.c
ceedling-0.31.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.31.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.30.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.30.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.3 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.3 examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.2 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.2 examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.1 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.28.1 examples/temp_sensor/src/UsartHardware.c
ceedling-0.27.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.27.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.25.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.25.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.24.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c
ceedling-0.24.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.22.0 examples/temp_sensor/src/UsartHardware.c
ceedling-0.22.0 vendor/cmock/examples/temp_sensor/src/UsartHardware.c