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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-arc/] [oldlatches.h] - Blame information for rev 1765

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _ASM_ARM_ARCHARC_OLDLATCH_H
2
#define _ASM_ARM_ARCHARC_OLDLATCH_H
3
 
4
#define LATCHA_FDSEL0    (1<<0)
5
#define LATCHA_FDSEL1    (1<<1)
6
#define LATCHA_FDSEL2    (1<<2)
7
#define LATCHA_FDSEL3    (1<<3)
8
#define LATCHA_FDSELALL  (0xf)
9
#define LATCHA_SIDESEL   (1<<4)
10
#define LATCHA_MOTOR     (1<<5)
11
#define LATCHA_INUSE     (1<<6)
12
#define LATCHA_CHANGERST (1<<7)
13
 
14
#define LATCHB_FDCDENSITY  (1<<1)
15
#define LATCHB_FDCRESET    (1<<3)
16
#define LATCHB_PRINTSTROBE (1<<4)
17
 
18
/* newval=(oldval & mask)|newdata */
19
void oldlatch_bupdate(unsigned char mask,unsigned char newdata);
20
 
21
/* newval=(oldval & mask)|newdata */
22
void oldlatch_aupdate(unsigned char mask,unsigned char newdata);
23
 
24
#endif

powered by: WebSVN 2.1.0

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