Search found 2 matches

by Vimes45
Thu Nov 12, 2020 2:07 pm
Forum: General Discussion
Topic: RS485 Library
Replies: 1
Views: 1535

Re: RS485 Library

In the end, I didn’t need to modificate the cores. The form of enable interrupts are very simple:

Code: Select all

bool interrupt() {
	bool ret = UART1.int_raw.txfifo_empty;
	UART1.int_clr.txfifo_empty = 1;
	return ret
}
All interrupts and registers bits are in uart_struct.h, in tools/.../soc.
by Vimes45
Mon Nov 09, 2020 12:35 pm
Forum: General Discussion
Topic: RS485 Library
Replies: 1
Views: 1535

RS485 Library

Hello, I'm working in a RS485 project for Arduino IDE. But I don't find how to define correctly the interrupts. I need only one interrupt that to activate the reception Rx (normally is in LOW mode, and I want activate the HIGH mode when the transmission Tx has finished). I has searched in the direct...