|
ketCube_cfg_DrvError_t | ketCube_UART_RegisterHandle (ketCube_UART_ChannelNo_t channel, ketCube_UART_descriptor_t *descriptor) |
| Register UART channel for exclusive access. More...
|
|
ketCube_cfg_DrvError_t | ketCube_UART_UnRegisterHandle (ketCube_UART_ChannelNo_t channel) |
| Unregister UART channel. More...
|
|
UART_HandleTypeDef * | ketCube_UART_GetHandle (ketCube_UART_ChannelNo_t channel) |
| Retrieve UART handle for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (IRQCallback, fnIRQCallback) |
| IRQ callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (ReceiveCallback, fnReceiveCallback) |
| IRQ callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (TransmitCallback, fnTransmitCallback) |
| TX complete callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (ErrorCallback, fnErrorCallback) |
| Error callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (WakeupCallback, fnWakeupCallback) |
| Wakeup callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (IoInitCallback, fnIoInit) |
| IO ports init callback for given channel. More...
|
|
| DEFINE_CALLBACK_FNC (IoDeInitCallback, fnIoDeInit) |
| IO ports deinit callback for given channel. More...
|
|
void | ketCube_UART_IoInitAll (void) |
| Initialize all registered descriptors (e.g. when going back from sleep) More...
|
|
void | ketCube_UART_IoDeInitAll (void) |
| Denitialize all registered descriptors (e.g. when going to sleep) More...
|
|
ketCube_cfg_DrvError_t | ketCube_UART_SetupPin (ketCube_gpio_port_t port, ketCube_gpio_pin_t pin, uint8_t af) |
| Setup UART PIN(s) More...
|
|
void | ketCube_UART_DisableAll (void) |
| Disable All UART Instances. More...
|
|
void | ketCube_UART_EnableAll (void) |
| Enable All Registered UART Instances. More...
|
|
This file contains definitions for the UART manager.
- Author
- Martin Ubl
- Version
- 0.1
- Date
- 2018-03-07
- Attention
© Copyright (c) 2018 University of West Bohemia in Pilsen All rights reserved.
Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution.
- Neither the names of The SmartCampus Team, Department of Technologies and Measurement and Faculty of Electrical Engineering University of West Bohemia in Pilsen, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.