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

* h8/h8s2357/tpu.h: Added bit names for TIER registers.
	* h8/h8s2357/ports.h: Fixed newline at end of file.


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

@ -1,3 +1,8 @@
2005-06-02 Branislav Petrovsky <brano111@szm.sk>
* h8/h8s2357/tpu.h: Added bit names for TIER registers.
* h8/h8s2357/ports.h: Fixed newline at end of file.
2005-06-02 Branislav Petrovsky <brano111@szm.sk>
* h8/h8s2357/timer.h: Added prefix TIMER to registers constants - fixed

@ -617,4 +617,3 @@ typedef struct DDR_registers {
#define PGDDR_PG0DDR bit(0)
#endif /* H8S2357_PORTS_H */

@ -206,6 +206,15 @@ typedef struct TPU_common_registers {
#define TIORL_IOC(x) bits_val(3,0,x)
#define get_TIORL_IOC(x) bits_get(3,0,x)
/* TIER bits */
#define TIER_TTGE bit(7)
#define TIER_TCIEU bit(5) /* only for TPU1, TPU2, TPU4, TPU5 */
#define TIER_TCIEV bit(4)
#define TIER_TGIED bit(3) /* only for TPU0 and TPU3 */
#define TIER_TGIEC bit(2) /* only for TPU0 and TPU3 */
#define TIER_TGIEB bit(1)
#define TIER_TGIEA bit(0)
/* TSR bits */
#define TSR_TCFD bit(7) /* only for TPU1, TPU2, TPU4, TPU5 */
#define TSR_TCFU bit(5) /* only for TPU1, TPU2, TPU4, TPU5 */

Loading…
Cancel
Save