| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003-2009, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: burt_priv.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 12 | * $brcm_Date: 7/21/09 5:42p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/portinginterface/urt/7405/burt_priv.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/2 7/21/09 5:42p jkim |
|---|
| 21 | * PR30806: Add the function to set stop bits |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/1 9/16/03 5:00p brianlee |
|---|
| 24 | * Initial version. |
|---|
| 25 | * |
|---|
| 26 | * |
|---|
| 27 | ***************************************************************************/ |
|---|
| 28 | #ifndef BURT_PRIV_H__ |
|---|
| 29 | #define BURT_PRIV_H__ |
|---|
| 30 | |
|---|
| 31 | #ifdef __cplusplus |
|---|
| 32 | extern "C" { |
|---|
| 33 | #endif |
|---|
| 34 | |
|---|
| 35 | void BURT_P_EnableTxRx( |
|---|
| 36 | BURT_ChannelHandle hChn, /* Device channel handle */ |
|---|
| 37 | bool enableTx, /* enable flag for transmitter */ |
|---|
| 38 | bool enableRx /* enable flag for receiver */ |
|---|
| 39 | ); |
|---|
| 40 | |
|---|
| 41 | void BURT_P_SetBaudRate( |
|---|
| 42 | BURT_ChannelHandle hChn, /* Device channel handle */ |
|---|
| 43 | uint32_t baud |
|---|
| 44 | ); |
|---|
| 45 | |
|---|
| 46 | void BURT_P_SetDataBits( |
|---|
| 47 | BURT_ChannelHandle hChn, /* Device channel handle */ |
|---|
| 48 | BURT_DataBits bits |
|---|
| 49 | ); |
|---|
| 50 | |
|---|
| 51 | void BURT_P_SetParity( |
|---|
| 52 | BURT_ChannelHandle hChn, /* Device channel handle */ |
|---|
| 53 | BURT_Parity parity |
|---|
| 54 | ); |
|---|
| 55 | |
|---|
| 56 | void BURT_P_SetStopBits( |
|---|
| 57 | BURT_ChannelHandle hChn, /* Device channel handle */ |
|---|
| 58 | BURT_StopBits stop_bits |
|---|
| 59 | ); |
|---|
| 60 | |
|---|
| 61 | static void BURT_P_HandleInterrupt_Isr |
|---|
| 62 | ( |
|---|
| 63 | void *pParam1, /* Device channel handle */ |
|---|
| 64 | int parm2 /* not used */ |
|---|
| 65 | ); |
|---|
| 66 | |
|---|
| 67 | #ifdef __cplusplus |
|---|
| 68 | } |
|---|
| 69 | #endif |
|---|
| 70 | |
|---|
| 71 | #endif |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | |
|---|