Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | ifndef __s12z_bats_inc |
2 | __s12z_bats_inc equ 1 |
||
3 | |||
4 | save |
||
5 | listing off ; no listing over this file |
||
6 | |||
7 | ;**************************************************************************** |
||
8 | ;* * |
||
9 | ;* AS 1.42 - File S12ZBATS.INC * |
||
10 | ;* * |
||
11 | ;* Contains Bit & Register Definitions for S12Z Battery Sensor * |
||
12 | ;* * |
||
13 | ;**************************************************************************** |
||
14 | |||
15 | BATE equ $06F0 ; BATS Module Enable Register |
||
16 | BVHS s12zbit BATE,6 ; BATS Voltage High Select |
||
17 | BVLS s12zfld BATE,2:4 ; BATS Voltage Low Select |
||
18 | BSUAE s12zbit BATE,3 ; BATS VSUP ADC Connection Enable |
||
19 | BSUSE s12zbit BATE,2 ; BATS VSUP Level Sense Enable |
||
20 | BATSR equ $06F1 ; BATS Module Status Register |
||
21 | BVHC s12zbit BATSR,1 ; BATS Voltage Sense High Condition Bit |
||
22 | BVLC s12zbit BATSR,0 ; BATS Voltage Sense Low Condition Bit |
||
23 | BATIE equ $06F2 ; BATS Interrupt Enable Register |
||
24 | BVHIE s12zbit BATIE,1 ; BATS Interrupt Enable High |
||
25 | BVLIE s12zbit BATIE,0 ; BATS Interrupt Enable Low |
||
26 | BATIF equ $06F3 ; BATS Interrupt Flag Register |
||
27 | BVHIF s12zbit BATIF,1 ; BATS Interrupt Flag High Detect |
||
28 | BVLIF s12zbit BATIF,0 ; BATS Interrupt Flag Low Detect |
||
29 | |||
30 | restore ; re-enable listing |
||
31 | |||
32 | endif ; __s12z_bats_inc |