OpenCores
URL https://opencores.org/ocsvn/pdp8/pdp8/trunk

Subversion Repositories pdp8

[/] [pdp8/] [trunk/] [pdp8/] [rk8e/] [sdspi_types.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 trurl
--------------------------------------------------------------------
2
--!
3
--! PDP-8 Processor
4
--!
5
--! \brief
6
--!      RK8E Secure Digital SPI Interface Types
7
--!
8
--! \details
9
--!      This package contains all the type information that is
10
--!      required to use the SPI layer of the Secure Digital
11
--!      Disk Interface protocol.
12
--!
13
--! \file
14
--!      sdspi_types.vhd
15
--!
16
--! \author
17
--!      Rob Doyle - doyle (at) cox (dot) net
18
--!
19
--------------------------------------------------------------------
20
--
21
--  Copyright (C) 2012 Rob Doyle
22
--
23
-- This source file may be used and distributed without
24
-- restriction provided that this copyright statement is not
25
-- removed from the file and that any derivative work contains
26
-- the original copyright notice and the associated disclaimer.
27
--
28
-- This source file is free software; you can redistribute it
29
-- and/or modify it under the terms of the GNU Lesser General
30
-- Public License as published by the Free Software Foundation;
31
-- version 2.1 of the License.
32
--
33
-- This source is distributed in the hope that it will be
34
-- useful, but WITHOUT ANY WARRANTY; without even the implied
35
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
36
-- PURPOSE. See the GNU Lesser General Public License for more
37
-- details.
38
--
39
-- You should have received a copy of the GNU Lesser General
40
-- Public License along with this source; if not, download it
41
-- from http://www.gnu.org/licenses/lgpl.txt
42
--
43
--------------------------------------------------------------------
44
--
45
-- Comments are formatted for doxygen
46
--
47
 
48
library ieee;                                           --! IEEE Library
49
use ieee.std_logic_1164.all;                            --! IEEE 1164
50
 
51
--
52
--! RK8E Secure Digital Interface SPI Interface Type Package
53
--
54
 
55
package sdspi_types is
56
 
57
    --!
58
    --! Types
59
    --!
60
 
61
    type     spiOP_t    is (spiNOP,                     --! NOP
62
                            spiCSL,                     --! Set CS Low
63
                            spiCSH,                     --! Set CS High
64
                            spiFAST,                    --! Go Fast
65
                            spiSLOW,                    --! Go Slow
66
                            spiTR);                     --! Transmit/Receive Byte
67
 
68
end sdspi_types;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.