![]() |
CMSIS-Driver Validation
Version 2.0.0
Driver Validation
|
#include "cmsis_dv.h"#include "DV_USART_Config.h"#include "DV_Framework.h"#include "Driver_USART.h"#include <stdio.h>#include <stdlib.h>#include <string.h>Typedefs | |
| typedef uint8_t | buf_t |
Functions | |
| ARM_DRIVER_USART | CREATE_SYMBOL (Driver_USART, DRV_USART) |
| static void | USART_DrvEvent (uint32_t event) |
| int8_t | USART_RunTransfer (void *out, void *in, uint32_t cnt) |
| int8_t | USART_RunSend (void *out, uint32_t cnt) |
| int8_t | USART_RunSend_NoCallback (void *out, uint32_t cnt) |
| int8_t | USART_RunReceive (void *out, void *in, uint32_t cnt) |
| int8_t | USART_RunReceive_NoCallback (void *out, void *in, uint32_t cnt) |
| void | USART_GetCapabilities (void) |
| Function: USART_GetCapabilities. More... | |
| void | USART_Initialization (void) |
| Function: USART_Initialization. More... | |
| void | USART_CheckInvalidInit (void) |
| Function: USART_CheckInvalidInit. More... | |
| void | USART_PowerControl (void) |
| Function: USART_PowerControl. More... | |
| void | USART_Config_PolarityPhase (void) |
| Function: USART_Config_PolarityPhase. More... | |
| void | USART_Config_DataBits (void) |
| Function: USART_Config_DataBits. More... | |
| void | USART_Config_StopBits (void) |
| Function: USART_Config_StopBits. More... | |
| void | USART_Config_Parity (void) |
| Function: USART_Config_Parity. More... | |
| void | USART_Config_Baudrate (void) |
| Function: USART_Config_Baudrate. More... | |
| void | USART_Loopback_CheckBaudrate (void) |
| Function: USART_Loopback_CheckBaudrate. More... | |
| void | USART_Config_CommonParams (void) |
| Function: USART_Config_CommonParams. More... | |
| void | USART_Send (void) |
| Function: USART_Send. More... | |
| void | USART_AsynchronousReceive (void) |
| Function: USART_AsynchronousReceive. More... | |
| void | USART_Loopback_Transfer (void) |
| Function: USART_Loopback_Transfer. More... | |
Variables | |
| static buf_t * | buffer_out |
| static buf_t * | buffer_in |
| static const uint32_t | USART_BR [] |
| static const uint32_t | USART_BR_NUM = ARRAY_SIZE(USART_BR) |
| static ARM_DRIVER_USART * | drv = &CREATE_SYMBOL(Driver_USART, DRV_USART) |
| static ARM_USART_CAPABILITIES | capab |
| static char | str [128] |
| static uint8_t volatile | Event |
| typedef uint8_t buf_t |
| ARM_DRIVER_USART CREATE_SYMBOL | ( | Driver_USART | , |
| DRV_USART | |||
| ) |
|
static |
| int8_t USART_RunTransfer | ( | void * | out, |
| void * | in, | ||
| uint32_t | cnt | ||
| ) |
| int8_t USART_RunSend | ( | void * | out, |
| uint32_t | cnt | ||
| ) |
| int8_t USART_RunSend_NoCallback | ( | void * | out, |
| uint32_t | cnt | ||
| ) |
| int8_t USART_RunReceive | ( | void * | out, |
| void * | in, | ||
| uint32_t | cnt | ||
| ) |
| int8_t USART_RunReceive_NoCallback | ( | void * | out, |
| void * | in, | ||
| uint32_t | cnt | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |