Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | ifndef __st7sci2inc ; avoid multiple inclusion |
2 | __st7sci2inc equ 1 |
||
3 | |||
4 | save |
||
5 | listing off ; no listing over this file |
||
6 | |||
7 | ;**************************************************************************** |
||
8 | ;* * |
||
9 | ;* AS 1.42 - File SCI2.INC * |
||
10 | ;* * |
||
11 | ;* contains SFR and Bit Definitions for ST7 SCI with Parity Function * |
||
12 | ;* * |
||
13 | ;**************************************************************************** |
||
14 | |||
15 | include "sci.inc" |
||
16 | |||
17 | __defsci2 macro Base,ERPROffs |
||
18 | __defsci Base,ERPROffs |
||
19 | SCI_PE bit SCISR,0 ; Parity error |
||
20 | SCID bit SCICR1,5 ; Disabled for Low Power Consumption |
||
21 | PCE bit SCICR1,2 ; Parity Control Enable |
||
22 | PS bit SCICR1,1 ; Parity Selection |
||
23 | PIE bit SCICR1,0 ; Parity Interrupt Enable |
||
24 | endm |
||
25 | |||
26 | restore |
||
27 | endif ; __st7sci2inc |