Added codec registers macros.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@150 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 23dec1cb7b
commit 8236dddc4c

@ -92,6 +92,10 @@ typedef volatile struct AC97_registers {
#define MOSR AC97_pointer->mosr
#define MISR AC97_pointer->misr
#define MODR AC97_pointer->modr
#define __PACR(r) AC97_pointer->__pacr[r >> 1]
#define __SACR(r) AC97_pointer->__sacr[r >> 1]
#define __PMCR(r) AC97_pointer->__pmcr[r >> 1]
#define __SMCR(r) AC97_pointer->__smcr[r >> 1]
#endif /* LANGUAGE == C */
#define POCR_OFFSET 0x000

Loading…
Cancel
Save