CMSIS-Driver Validation  Version 1.3.0
Driver Validation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
DV_USART.c File Reference
#include "cmsis_dv.h"
#include "DV_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 *in, uint32_t cnt)
 
int8_t USART_RunReceive_NoCallback (void *in, uint32_t cnt)
 
void USART_GetCapabilities (void)
 Test case: USART_GetCapabilities. More...
 
void USART_Initialization (void)
 Test case: USART_Initialization. More...
 
void USART_CheckInvalidInit (void)
 Test case: USART_CheckInvalidInit. More...
 
void USART_PowerControl (void)
 Test case: USART_PowerControl. More...
 
void USART_Config_PolarityPhase (void)
 Test case: USART_Config_PolarityPhase. More...
 
void USART_Config_DataBits (void)
 Test case: USART_Config_DataBits. More...
 
void USART_Config_StopBits (void)
 Test case: USART_Config_StopBits. More...
 
void USART_Config_Parity (void)
 Test case: USART_Config_Parity. More...
 
void USART_Config_Baudrate (void)
 Test case: USART_Config_Baudrate. More...
 
void USART_Loopback_CheckBaudrate (void)
 Test case: USART_Loopback_CheckBaudrate. More...
 
void USART_Config_CommonParams (void)
 Test case: USART_Config_CommonParams. More...
 
void USART_Send (void)
 Test case: USART_Send. More...
 
void USART_AsynchronousReceive (void)
 Test case: USART_AsynchronousReceive. More...
 
void USART_Loopback_Transfer (void)
 Test case: USART_Loopback_Transfer. More...
 

Variables

static buf_tbuffer_out
 
static buf_tbuffer_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 uint8_t volatile Event
 

Typedef Documentation

typedef uint8_t buf_t

Function Documentation

ARM_DRIVER_USART CREATE_SYMBOL ( Driver_USART  ,
DRV_USART   
)
static void USART_DrvEvent ( uint32_t  event)
static
int8_t USART_RunReceive ( void *  in,
uint32_t  cnt 
)
int8_t USART_RunReceive_NoCallback ( 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_RunTransfer ( void *  out,
void *  in,
uint32_t  cnt 
)

Variable Documentation

buf_t* buffer_in
static
buf_t* buffer_out
static
ARM_USART_CAPABILITIES capab
static
ARM_DRIVER_USART* drv = &CREATE_SYMBOL(Driver_USART, DRV_USART)
static
uint8_t volatile Event
static
const uint32_t USART_BR[]
static
Initial value:
= {
}
const uint32_t USART_BR_NUM = ARRAY_SIZE(USART_BR)
static