/*
   Copyright (c) 2019 by Plexim GmbH
   All rights reserved.

   A free license is granted to anyone to use this software for any legal
   non safety-critical purpose, including commercial applications, provided
   that:
   1) IT IS NOT USED TO DIRECTLY OR INDIRECTLY COMPETE WITH PLEXIM, and
   2) THIS COPYRIGHT NOTICE IS PRESERVED in its entirety.

   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
   AUTHORS 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 IN THE
   SOFTWARE.
 */

#include "includes.h"

#ifndef PLX_SCI_IMPL_H_
#define PLX_SCI_IMPL_H_

typedef enum PLX_SCI_UNIT { PLX_SCI_SCI_A = 0, PLX_SCI_SCI_B } PLX_SCI_Unit_t;

typedef struct PLX_SCI_OBJ {
  PLX_SCI_Unit_t unit;
  uint32_t portHandle;
  uint32_t clk;
} PLX_SCI_Obj_t;

typedef PLX_SCI_Obj_t *PLX_SCI_Handle_t;

#endif /* PLX_SCI_IMPL_H_ */
