2005-06-16 Branislav Petrovsky <brano111@szm.sk>

* h8/h8s2357/mcu.h (SBYCR, SYSCR, SCKCR, MDCR, MSTPCRH, MSTPCRL)
	(SYSCR2): Added assembly alternatives to C register names defines.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@646 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Branislav Petrovsk 20 years ago
parent f47828b024
commit ae9d184f88

@ -1,3 +1,8 @@
2005-06-16 Branislav Petrovsky <brano111@szm.sk>
* h8/h8s2357/mcu.h (SBYCR, SYSCR, SCKCR, MDCR, MSTPCRH, MSTPCRL)
(SYSCR2): Added assembly alternatives to C register names defines.
2005-06-10 Branislav Petrovsky <brano111@szm.sk>
* h8/h83048/itu.h: Replaced 8 bit register pairs with 16 bit registers

@ -81,6 +81,16 @@ typedef volatile struct MCU_registers {
#define MSTPCRL_OFFSET 0x05
#define SYSCR2_OFFSET 0x0a
#if LANGUAGE == ASM
#define SBYCR (MCU_BASE + SBYCR_OFFSET)
#define SYSCR (MCU_BASE + SYSCR_OFFSET)
#define SCKCR (MCU_BASE + SCKCR_OFFSET)
#define MDCR (MCU_BASE + MDCR_OFFSET)
#define MSTPCRH (MCU_BASE + MSTPCRH_OFFSET)
#define MSTPCRL (MCU_BASE + MSTPCRL_OFFSET)
#define SYSCR2 (MCU_BASE + SYSCR2_OFFSET)
#endif /* LANGUAGE == ASM */
/* SBYCR bits */
#define SBYCR_SSBY bit(7)
#define SBYCR_STS_MASK bits(6,4)

Loading…
Cancel
Save