zhaniko93
New Member
hello.
I'm interested and confused about RCREG flush just before I start receiving.
As I'm concerned, flush is just to clrf rcreg yes? I have seen where flush is done so:
Or so:
or just clrf. I am inetersted in what exactly flushing is and why it is required before getting anything? and also, is movfw RCREG a way to clear it or what? what does it actually do? I'm fully confused
I'm interested and confused about RCREG flush just before I start receiving.
As I'm concerned, flush is just to clrf rcreg yes? I have seen where flush is done so:
Code:
RCREG=RCREG;
RCREG=RCREG;
RCREG=RCREG;
Or so:
Code:
movfw RCREG
movfw RCREG
movfw RCREG
or just clrf. I am inetersted in what exactly flushing is and why it is required before getting anything? and also, is movfw RCREG a way to clear it or what? what does it actually do? I'm fully confused