Sha256: c368b9ee2d323b0c46e2161e1edc1775d5b40c49c58a22a388951a94142ebc48
Contents?: true
Size: 782 Bytes
Versions: 2
Compression:
Stored size: 782 Bytes
Contents
/* ========================================================================= Ceedling - Test-Centered Build System for C ThrowTheSwitch.org Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | examples/temp_sensor/src/UsartHardware.c |
ceedling-1.0.0 | examples/temp_sensor/src/UsartHardware.c |