|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
/*
|
|
|
|
|
* $Id$
|
|
|
|
|
*
|
|
|
|
|
* XScale PXA26x/PXA250/PXA210 SSP/NSSP/ASSP Registers
|
|
|
|
|
* Copyright (C) 2002 ETC s.r.o.
|
|
|
|
|
* XScale PXA26x/PXA255/PXA250/PXA210 SSP/NSSP/ASSP Registers
|
|
|
|
|
* Copyright (C) 2002, 2003 ETC s.r.o.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
@ -28,13 +28,15 @@
|
|
|
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*
|
|
|
|
|
* Written by Marcel Telka <marcel@telka.sk>, 2002.
|
|
|
|
|
* Written by Marcel Telka <marcel@telka.sk>, 2002, 2003.
|
|
|
|
|
*
|
|
|
|
|
* Documentation:
|
|
|
|
|
* [1] Intel Corporation, "Intel PXA250 and PXA210 Application Processors
|
|
|
|
|
* Developer's Manual", February 2002, Order Number: 278522-001
|
|
|
|
|
* [2] Intel Corporation, "Intel PXA26x Processor Family Developer's Manual",
|
|
|
|
|
* October 2002, Order Number: 278638-001
|
|
|
|
|
* March 2003, Order Number: 278638-002
|
|
|
|
|
* [3] Intel Corporation, "Intel PXA255 Processor Developer's Manual"
|
|
|
|
|
* March 2003, Order Number: 278693-001
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
@ -47,43 +49,51 @@
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined(PXA2X0_NOPXA250) && !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#define PXA2X0_NOPXA26X
|
|
|
|
|
#if defined(PXA2X0_NOPXA250) && !defined(PXA2X0_NOPXA255)
|
|
|
|
|
#define PXA2X0_NOPXA255
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined(PXA2X0_NOPXA255) && !defined(PXA2X0_NOPXA260)
|
|
|
|
|
#define PXA2X0_NOPXA260
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* SSP Registers */
|
|
|
|
|
|
|
|
|
|
#define SSP_BASE 0x41000000
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
#define NSSP_BASE 0x41400000
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
#define ASSP_BASE 0x41500000
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if LANGUAGE == C
|
|
|
|
|
/* see Table 8-7 in [1], Table 8-7 in [2], Table 16-10 in [2], Table 16-11 in [2] */
|
|
|
|
|
/* see Table 8-7 in [1], Table 8-7 in [2], Table 16-10 in [2], Table 16-11 in [2], Table 8-7 in [3], Table 16-10 in [3] */
|
|
|
|
|
typedef volatile struct SSP_registers {
|
|
|
|
|
uint32_t sscr0;
|
|
|
|
|
uint32_t sscr1;
|
|
|
|
|
uint32_t sssr;
|
|
|
|
|
#if defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if defined(PXA2X0_NOPXA255)
|
|
|
|
|
uint32_t __reserved;
|
|
|
|
|
#else /* PXA26x only */
|
|
|
|
|
#else /* PXA255 and above only */
|
|
|
|
|
uint32_t xssitr; /* only for NSSP/ASSP */
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
uint32_t ssdr;
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
uint32_t __reserved[5];
|
|
|
|
|
uint32_t xssto; /* only for NSSP/ASSP */
|
|
|
|
|
uint32_t xsspsp; /* only for NSSP/ASSP */
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
} SSP_registers_t;
|
|
|
|
|
|
|
|
|
|
#ifdef PXA2X0_UNMAPPED
|
|
|
|
|
#define SSP_pointer ((SSP_registers_t*) SSP_BASE)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
#define NSSP_pointer ((SSP_registers_t*) NSSP_BASE)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
#define ASSP_pointer ((SSP_registers_t*) ASSP_BASE)
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define SSCR0 SSP_pointer->sscr0
|
|
|
|
@ -91,7 +101,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define SSSR SSP_pointer->sssr
|
|
|
|
|
#define SSDR SSP_pointer->ssdr
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
#define NSSCR0 NSSP_pointer->sscr0
|
|
|
|
|
#define NSSCR1 NSSP_pointer->sscr1
|
|
|
|
|
#define NSSSR NSSP_pointer->sssr
|
|
|
|
@ -99,7 +109,9 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSDR NSSP_pointer->ssdr
|
|
|
|
|
#define NSSPTO NSSP_pointer->xsspto
|
|
|
|
|
#define NSSPSP NSSP_pointer->xsspsp
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
#define ASSCR0 ASSP_pointer->sscr0
|
|
|
|
|
#define ASSCR1 ASSP_pointer->sscr1
|
|
|
|
|
#define ASSSR ASSP_pointer->sssr
|
|
|
|
@ -107,7 +119,9 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSDR ASSP_pointer->ssdr
|
|
|
|
|
#define ASSPTO ASSP_pointer->xsspto
|
|
|
|
|
#define ASSPSP ASSP_pointer->xsspsp
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* common for NSSP/ASSP */
|
|
|
|
|
|
|
|
|
|
#define XSSCR0 XSSP_pointer->sscr0
|
|
|
|
@ -117,7 +131,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSDR XSSP_pointer->ssdr
|
|
|
|
|
#define XSSPTO XSSP_pointer->xsspto
|
|
|
|
|
#define XSSPSP XSSP_pointer->xsspsp
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
#endif /* LANGUAGE == C */
|
|
|
|
|
|
|
|
|
|
#define SSCR0_OFFSET 0x00
|
|
|
|
@ -125,7 +139,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define SSSR_OFFSET 0x08
|
|
|
|
|
#define SSDR_OFFSET 0x10
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
#define NSSCR0_OFFSET 0x00
|
|
|
|
|
#define NSSCR1_OFFSET 0x04
|
|
|
|
|
#define NSSSR_OFFSET 0x08
|
|
|
|
@ -133,7 +147,9 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSDR_OFFSET 0x10
|
|
|
|
|
#define NSSTO_OFFSET 0x28
|
|
|
|
|
#define NSSPSP_OFFSET 0x2C
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
#define ASSCR0_OFFSET 0x00
|
|
|
|
|
#define ASSCR1_OFFSET 0x04
|
|
|
|
|
#define ASSSR_OFFSET 0x08
|
|
|
|
@ -141,7 +157,9 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSDR_OFFSET 0x10
|
|
|
|
|
#define ASSTO_OFFSET 0x28
|
|
|
|
|
#define ASSPSP_OFFSET 0x2C
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* common for NSSP/ASSP */
|
|
|
|
|
|
|
|
|
|
#define XSSCR0_OFFSET 0x00
|
|
|
|
@ -151,9 +169,9 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSDR_OFFSET 0x10
|
|
|
|
|
#define XSSTO_OFFSET 0x28
|
|
|
|
|
#define XSSPSP_OFFSET 0x2C
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
/* SSCR0 bits - see Table 8-2 in [1], Table 8-2 in [2] */
|
|
|
|
|
/* SSCR0 bits - see Table 8-2 in [1], Table 8-2 in [2], Table 8-2 in [3] */
|
|
|
|
|
|
|
|
|
|
#define SSCR0_SCR_MASK bits(15,8)
|
|
|
|
|
#define SSCR0_SCR(x) bits_val(15,8,x)
|
|
|
|
@ -167,7 +185,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define SSCR0_DSS(x) bits_val(3,0,x)
|
|
|
|
|
#define get_SSCR0_DSS(x) bits_get(3,0,x)
|
|
|
|
|
|
|
|
|
|
/* SSCR1 bits - see Table 8-3 in [1], Table 8-3 in [2] */
|
|
|
|
|
/* SSCR1 bits - see Table 8-3 in [1], Table 8-3 in [2], Table 8-3 in [3] */
|
|
|
|
|
|
|
|
|
|
#define SSCR1_RFT_MASK bits(13,10)
|
|
|
|
|
#define SSCR1_RFT(x) bits_val(13,10,x)
|
|
|
|
@ -182,7 +200,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define SSCR1_TIE bit(1)
|
|
|
|
|
#define SSCR1_RIE bit(0)
|
|
|
|
|
|
|
|
|
|
/* SSSR bits - see Table 8-6 in [1], Table 8-6 in [2] */
|
|
|
|
|
/* SSSR bits - see Table 8-6 in [1], Table 8-6 in [2], Table 8-6 in [3] */
|
|
|
|
|
|
|
|
|
|
#define SSSR_RFL_MASK bits(15,12)
|
|
|
|
|
#define SSSR_RFL(x) bits_val(15,12,x)
|
|
|
|
@ -197,8 +215,8 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define SSSR_RNE bit(3)
|
|
|
|
|
#define SSSR_TNF bit(2)
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA26X)
|
|
|
|
|
/* NSSCR0/ASSCR0 bits - see Table 16-3 in [2] */
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSCR0 bits - see Table 16-3 in [2], Table 16-3 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSCR0_EDSS bit(20)
|
|
|
|
|
#define NSSCR0_SCR_MASK bits(19,8)
|
|
|
|
@ -211,6 +229,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSCR0_DSS_MASK bits(3,0)
|
|
|
|
|
#define NSSCR0_DSS(x) bits_val(3,0,x)
|
|
|
|
|
#define get_NSSCR0_DSS(x) bits_get(3,0,x)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSCR0 bits - see Table 16-3 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSCR0_EDSS bit(20)
|
|
|
|
|
#define ASSCR0_SCR_MASK bits(19,8)
|
|
|
|
@ -223,6 +245,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSCR0_DSS_MASK bits(3,0)
|
|
|
|
|
#define ASSCR0_DSS(x) bits_val(3,0,x)
|
|
|
|
|
#define get_ASSCR0_DSS(x) bits_get(3,0,x)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSCR0/ASSCR0 bits - see Table 16-3 in [2], Table 16-3 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSCR0_EDSS bit(20)
|
|
|
|
|
#define XSSCR0_SCR_MASK bits(19,8)
|
|
|
|
@ -236,7 +262,7 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSCR0_DSS(x) bits_val(3,0,x)
|
|
|
|
|
#define get_XSSCR0_DSS(x) bits_get(3,0,x)
|
|
|
|
|
|
|
|
|
|
/* NSSCR1/ASSCR1 bits - see Table 16-4 in [2] */
|
|
|
|
|
/* NSSCR1 bits - see Table 16-4 in [2], Table 16-4 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSCR1_TTELP bit(31)
|
|
|
|
|
#define NSSCR1_TTE bit(30)
|
|
|
|
@ -262,6 +288,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSCR1_LBM bit(2)
|
|
|
|
|
#define NSSCR1_TIE bit(1)
|
|
|
|
|
#define NSSCR1_RIE bit(0)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSCR1 bits - see Table 16-4 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSCR1_TTELP bit(31)
|
|
|
|
|
#define ASSCR1_TTE bit(30)
|
|
|
|
@ -287,6 +317,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSCR1_LBM bit(2)
|
|
|
|
|
#define ASSCR1_TIE bit(1)
|
|
|
|
|
#define ASSCR1_RIE bit(0)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSCR1/ASSCR1 bits - see Table 16-4 in [2], Table 16-4 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSCR1_TTELP bit(31)
|
|
|
|
|
#define XSSCR1_TTE bit(30)
|
|
|
|
@ -313,21 +347,29 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSCR1_TIE bit(1)
|
|
|
|
|
#define XSSCR1_RIE bit(0)
|
|
|
|
|
|
|
|
|
|
/* NSSITR/ASSITR bits - see Table 16-7 in [2] */
|
|
|
|
|
/* NSSITR bits - see Table 16-7 in [2], Table 16-7 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSITR_TROR bit(7)
|
|
|
|
|
#define NSSITR_TRFS bit(6)
|
|
|
|
|
#define NSSITR_TTFS bit(5)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSITR bits - see Table 16-7 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSITR_TROR bit(7)
|
|
|
|
|
#define ASSITR_TRFS bit(6)
|
|
|
|
|
#define ASSITR_TTFS bit(5)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSITR/ASSITR bits - see Table 16-7 in [2], Table 16-7 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSITR_TROR bit(7)
|
|
|
|
|
#define XSSITR_TRFS bit(6)
|
|
|
|
|
#define XSSITR_TTFS bit(5)
|
|
|
|
|
|
|
|
|
|
/* NSSSR/ASSSR bits - see Table 16-8 in [2] */
|
|
|
|
|
/* NSSSR bits - see Table 16-8 in [2], Table 16-8 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSSR_BCE bit(23)
|
|
|
|
|
#define NSSSR_CSS bit(22)
|
|
|
|
@ -345,6 +387,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSSR_BSY bit(4)
|
|
|
|
|
#define NSSSR_RNE bit(3)
|
|
|
|
|
#define NSSSR_TNF bit(2)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSSR bits - see Table 16-8 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSSR_BCE bit(23)
|
|
|
|
|
#define ASSSR_CSS bit(22)
|
|
|
|
@ -362,6 +408,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSSR_BSY bit(4)
|
|
|
|
|
#define ASSSR_RNE bit(3)
|
|
|
|
|
#define ASSSR_TNF bit(2)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSSR/ASSSR bits - see Table 16-8 in [2], Table 16-8 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSSR_BCE bit(23)
|
|
|
|
|
#define XSSSR_CSS bit(22)
|
|
|
|
@ -380,21 +430,29 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSSR_RNE bit(3)
|
|
|
|
|
#define XSSSR_TNF bit(2)
|
|
|
|
|
|
|
|
|
|
/* NSSTO/ASSTO bits - see Table 16-6 in [2] */
|
|
|
|
|
/* NSSTO bits - see Table 16-6 in [2], Table 16-6 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSTO_TIMEOUT_MASK bits(23,0)
|
|
|
|
|
#define NSSTO_TIMEOUT(x) bits_val(23,0,x)
|
|
|
|
|
#define get_NSSTO_TIMEOUT(x) bits_get(23,0,x)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSTO bits - see Table 16-6 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSTO_TIMEOUT_MASK bits(23,0)
|
|
|
|
|
#define ASSTO_TIMEOUT(x) bits_val(23,0,x)
|
|
|
|
|
#define get_ASSTO_TIMEOUT(x) bits_get(23,0,x)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSTO/ASSTO bits - see Table 16-6 in [2], Table 16-6 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSTO_TIMEOUT_MASK bits(23,0)
|
|
|
|
|
#define XSSTO_TIMEOUT(x) bits_val(23,0,x)
|
|
|
|
|
#define get_XSSTO_TIMEOUT(x) bits_get(23,0,x)
|
|
|
|
|
|
|
|
|
|
/* NSSPSP/ASSPSP bits - see Table 16-5 in [2] */
|
|
|
|
|
/* NSSPSP bits - see Table 16-5 in [2], Table 16-5 in [3] */
|
|
|
|
|
|
|
|
|
|
#define NSSPSP_DMYSTOP_MASK bits(24,23)
|
|
|
|
|
#define NSSPSP_DMYSTOP(x) bits_val(24,23,x)
|
|
|
|
@ -416,6 +474,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define NSSPSP_SCMODE_MASK bits(1,0)
|
|
|
|
|
#define NSSPSP_SCMODE(x) bits_val(1,0,x)
|
|
|
|
|
#define get_NSSPSP_SCMODE(x) bits_get(1,0,x)
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA260)
|
|
|
|
|
/* ASSPSP bits - see Table 16-5 in [2] */
|
|
|
|
|
|
|
|
|
|
#define ASSPSP_DMYSTOP_MASK bits(24,23)
|
|
|
|
|
#define ASSPSP_DMYSTOP(x) bits_val(24,23,x)
|
|
|
|
@ -437,6 +499,10 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define ASSPSP_SCMODE_MASK bits(1,0)
|
|
|
|
|
#define ASSPSP_SCMODE(x) bits_val(1,0,x)
|
|
|
|
|
#define get_ASSPSP_SCMODE(x) bits_get(1,0,x)
|
|
|
|
|
#endif /* PXA260 and above only */
|
|
|
|
|
|
|
|
|
|
#if !defined(PXA2X0_NOPXA255)
|
|
|
|
|
/* NSSPSP/ASSPSP bits - see Table 16-5 in [2], Table 16-5 in [3] */
|
|
|
|
|
|
|
|
|
|
#define XSSPSP_DMYSTOP_MASK bits(24,23)
|
|
|
|
|
#define XSSPSP_DMYSTOP(x) bits_val(24,23,x)
|
|
|
|
@ -458,6 +524,6 @@ typedef volatile struct SSP_registers {
|
|
|
|
|
#define XSSPSP_SCMODE_MASK bits(1,0)
|
|
|
|
|
#define XSSPSP_SCMODE(x) bits_val(1,0,x)
|
|
|
|
|
#define get_XSSPSP_SCMODE(x) bits_get(1,0,x)
|
|
|
|
|
#endif /* PXA26x only */
|
|
|
|
|
#endif /* PXA255 and above only */
|
|
|
|
|
|
|
|
|
|
#endif /* PXA2X0_SSP_H */
|
|
|
|
|