aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/__init__.py
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain)

d } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef __ATMEL_CLASSD_H_
#define __ATMEL_CLASSD_H_

#define CLASSD_CR		0x00000000
#define CLASSD_CR_RESET		0x1

#define CLASSD_MR			0x00000004

#define CLASSD_MR_LEN_DIS		0x0
#define CLASSD_MR_LEN_EN		0x1
#define CLASSD_MR_LEN_MASK		(0x1 << 0)
#define CLASSD_MR_LEN_SHIFT		(0)

#define CLASSD_MR_LMUTE_DIS		0x0
#define CLASSD_MR_LMUTE_EN		0x1
#define CLASSD_MR_LMUTE_SHIFT		(0x1)
#define CLASSD_MR_LMUTE_MASK		(0x1 << 1)

#define CLASSD_MR_REN_DIS		0x0
#define CLASSD_MR_REN_EN		0x1
#define CLASSD_MR_REN_MASK		(0x1 << 4)
#define CLASSD_MR_REN_SHIFT		(4)

#define CLASSD_MR_RMUTE_DIS		0x0
#define CLASSD_MR_RMUTE_EN		0x1
#define CLASSD_MR_RMUTE_SHIFT		(0x5)
#define CLASSD_MR_RMUTE_MASK		(0x1 << 5)

#define CLASSD_MR_PWMTYP_SINGLE		0x0
#define CLASSD_MR_PWMTYP_DIFF		0x1
#define CLASSD_MR_PWMTYP_MASK		(0x1 << 8)
#define CLASSD_MR_PWMTYP_SHIFT		(8)

#define CLASSD_MR_NON_OVERLAP_DIS	0x0
#define CLASSD_MR_NON_OVERLAP_EN	0x1
#define CLASSD_MR_NON_OVERLAP_MASK	(0x1 << 16)
#define CLASSD_MR_NON_OVERLAP_SHIFT	(16)

#define CLASSD_MR_NOVR_VAL_5NS		0x0
#define CLASSD_MR_NOVR_VAL_10NS		0x1
#define CLASSD_MR_NOVR_VAL_15NS		0x2
#define CLASSD_MR_NOVR_VAL_20NS		0x3
#define CLASSD_MR_NOVR_VAL_MASK		(0x3 << 20)
#define CLASSD_MR_NOVR_VAL_SHIFT	(20)

#define CLASSD_INTPMR				0x00000008

#define CLASSD_INTPMR_ATTL_MASK			(0x3f << 0)
#define CLASSD_INTPMR_ATTL_SHIFT		(0)
#define CLASSD_INTPMR_ATTR_MASK			(0x3f << 8)
#define CLASSD_INTPMR_ATTR_SHIFT		(8)

#define CLASSD_INTPMR_DSP_CLK_FREQ_12M288	0x0
#define CLASSD_INTPMR_DSP_CLK_FREQ_11M2896	0x1
#define CLASSD_INTPMR_DSP_CLK_FREQ_MASK		(0x1 << 16)
#define CLASSD_INTPMR_DSP_CLK_FREQ_SHIFT	(16)

#define CLASSD_INTPMR_DEEMP_DIS			0x0
#define CLASSD_INTPMR_DEEMP_EN			0x1
#define CLASSD_INTPMR_DEEMP_MASK		(0x1 << 18)
#define CLASSD_INTPMR_DEEMP_SHIFT		(18)

#define CLASSD_INTPMR_SWAP_LEFT_ON_LSB		0x0
#define CLASSD_INTPMR_SWAP_RIGHT_ON_LSB		0x1
#define CLASSD_INTPMR_SWAP_MASK			(0x1 << 19)
#define CLASSD_INTPMR_SWAP_SHIFT		(19)

#define CLASSD_INTPMR_FRAME_8K			0x0
#define CLASSD_INTPMR_FRAME_16K			0x1
#define CLASSD_INTPMR_FRAME_32K			0x2
#define CLASSD_INTPMR_FRAME_48K			0x3
#define CLASSD_INTPMR_FRAME_96K			0x4
#define CLASSD_INTPMR_FRAME_22K			0x5
#define CLASSD_INTPMR_FRAME_44K			0x6
#define CLASSD_INTPMR_FRAME_88K			0x7
#define CLASSD_INTPMR_FRAME_MASK		(0x7 << 20)
#define CLASSD_INTPMR_FRAME_SHIFT		(20)

#define CLASSD_INTPMR_EQCFG_FLAT		0x0
#define CLASSD_INTPMR_EQCFG_B_BOOST_12		0x1
#define CLASSD_INTPMR_EQCFG_B_BOOST_6		0x2
#define CLASSD_INTPMR_EQCFG_B_CUT_12		0x3
#define CLASSD_INTPMR_EQCFG_B_CUT_6		0x4
#define CLASSD_INTPMR_EQCFG_M_BOOST_3		0x5
#define CLASSD_INTPMR_EQCFG_M_BOOST_8		0x6
#define CLASSD_INTPMR_EQCFG_M_CUT_3		0x7
#define CLASSD_INTPMR_EQCFG_M_CUT_8		0x8
#define CLASSD_INTPMR_EQCFG_T_BOOST_12		0x9
#define CLASSD_INTPMR_EQCFG_T_BOOST_6		0xa
#define CLASSD_INTPMR_EQCFG_T_CUT_12		0xb
#define CLASSD_INTPMR_EQCFG_T_CUT_6		0xc
#define CLASSD_INTPMR_EQCFG_SHIFT		(24)

#define CLASSD_INTPMR_MONO_DIS			0x0
#define CLASSD_INTPMR_MONO_EN			0x1
#define CLASSD_INTPMR_MONO_MASK			(0x1 << 28)
#define CLASSD_INTPMR_MONO_SHIFT		(28)

#define CLASSD_INTPMR_MONO_MODE_MIX		0x0
#define CLASSD_INTPMR_MONO_MODE_SAT		0x1
#define CLASSD_INTPMR_MONO_MODE_LEFT		0x2
#define CLASSD_INTPMR_MONO_MODE_RIGHT		0x3
#define CLASSD_INTPMR_MONO_MODE_MASK		(0x3 << 29)
#define CLASSD_INTPMR_MONO_MODE_SHIFT		(29)

#define CLASSD_INTSR	0x0000000c

#define CLASSD_THR	0x00000010

#define CLASSD_IER	0x00000014

#define CLASSD_IDR	0x00000018

#define CLASSD_IMR	0x0000001c

#define CLASSD_ISR	0x00000020

#define CLASSD_WPMR	0x000000e4

#endif