Paul Stoffregen
							
						 
						
							
								40a8afc124
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #314  from mjs513/master  
							 
							
							 
							
							
							
							Final Correction to Tempmon Registes and Added analogreadaveraging 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Mike S
							
						 
						
							
								214071e0cd
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Update analog.c  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Mike S
							
						 
						
							
								292bb6553d
								
							 
						 
						
							
								
								corrections & updates  
							 
							
							 
							
							
							
							Tempsense2 address correction and added analogreadaveraging code. 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								d2bbae3e9c
								
							 
						 
						
							
								
								Add LED define, for IRremote  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								9035369e63
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #313  from FrankBoesing/patch-5  
							 
							
							 
							
							
							
							void (* _VectorsRam[160+16])(void); 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								3f700149ea
								
							 
						 
						
							
								
								T4-SerialX fleshing out code  
							 
							
							 
							
							
							
							Fleshing out some of the missing pieces. - Need to test
copy NVIC execution priority from T3
Set priority per Serial object
RTS pin
CTS pin - only Serial3 supports
setRX, setTX - do nothing none of these have two pins defined.
Maybe temporary - but added from previous code ability to add second buffer for RX and TX 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								58322b749a
								
							 
						 
						
							
								
								T4 SerialX - Read in all in FiFO on LPUART_STAT_RDRF  
							 
							
							 
							
							
							
							Put in code to read all of the current stuff in Receive queue on Interrupt.. 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								6d5bf17c96
								
									
										
											 
										
									
								
							 
						 
						
							
								
								void (* _VectorsRam[160+16])(void);  
							 
							
							 
							
							
							
							..use NVIC_NUM_INTERRUPTS instead 
i know, very minor documentational issue :) 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								2209a9f01b
								
							 
						 
						
							
								
								T4 - SerialX Support for Transmitter Enable  
							 
							
							 
							
							
							
							Used macros from OneWIre to fast set/clear the optional Transmitter Enable support.
Also fixed bug in ISR where was not properly looking for TC.  This will help make SerialX->flush() to work 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								4c7cf387c8
								
							 
						 
						
							
								
								Delete extra / old copy of pinMode  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								575c90cb68
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #310  from KurtE/T4_HardwareSerial  
							 
							
							 
							
							
							
							T4 - Hardware Serial - Pass 1 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								8f75ec1b8a
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #311  from el-supremo/patch-1  
							 
							
							 
							
							
							
							Update AudioStream.cpp 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								2a656acec6
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #312  from FrankBoesing/patch-4  
							 
							
							 
							
							
							
							add shiftIn/Out, pulseIn 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								9c49eeb0fd
								
							 
						 
						
							
								
								T4 Hardware Serial - Fix Serial2  
							 
							
							 
							
							
							
							Wrong RX_Select value 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								de9071e01e
								
									
										
											 
										
									
								
							 
						 
						
							
								
								add shiftIn/Out, pulseIn  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Pete
							
						 
						
							
								7a309dfb89
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Update AudioStream.cpp  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Kurt Eckhardt
							
						 
						
							
								361d842551
								
							 
						 
						
							
								
								T4 - Hardware Serial - Pass 1  
							 
							
							 
							
							
							
							This pass has some more support for using the Hardware Serial objects.
Including setting an ISR for doing both reads and writes,  sets up the FIFO,
Sitll lots more work to go.
Things like: fifo - need to better understand/set watermarks, also RX need to read in more than one byte if more available.
Also support fo r other features, like formats, 9 bit, ...
BUt at least you can do simple reads/writes 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								390a1e2f4c
								
							 
						 
						
							
								
								Add data cache functions  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								be8a8b9f4a
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #308  from FrankBoesing/patch-2  
							 
							
							 
							
							
							
							optimized delayNanoseconds 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								3605d91f39
								
									
										
											 
										
									
								
							 
						 
						
							
								
								optimized delayNanoseconds  
							 
							
							 
							
							
							
							shifting both sides by 16 bit gives pretty good accuracy with fast code:
        movw    r3, #9155 
        ldr     r2, .L2
        mul     r0, r3, r0
        lsrs    r0, r0, #1 
        umull   r3, r0, r2, r0
        lsrs    r0, r0, #8 
.L2:
        .word   144122641
with 984 MHz it allows nsec to be max ~143000  max which is plenty 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								efc41ea92d
								
							 
						 
						
							
								
								add analogWriteResolution()  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								b9066ead1f
								
							 
						 
						
							
								
								Fix typo (thanks tonton81)  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								487b234b72
								
							 
						 
						
							
								
								Fix PWM on pin 9 (thanks Manitou)  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								1312d8bc61
								
							 
						 
						
							
								
								Fix I/O register macros  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								576c748f2f
								
							 
						 
						
							
								
								pinMode configure pins for output drive in all modes, needed for direct I/O libs  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								f21cf2cf2f
								
							 
						 
						
							
								
								Add more pin defs, needed for Encoder  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								1638e51f71
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #306  from FrankBoesing/master  
							 
							
							 
							
							
							
							fast memcpy/memset 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								9f6a4858f2
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #307  from FrankBoesing/patch-1  
							 
							
							 
							
							
							
							Add delayNanoseconds() 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								acc3eeb91b
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Add delayNanoseconds()  
							 
							
							 
							
							
							
							This makes sense now, and would be useful for shorter wait-times. Could be used for PulseIn etc.  where we need defined very short delays. 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								c4ab57c003
								
							 
						 
						
							
								
								EventResponder, MillisTimer, yield  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank Bösing
							
						 
						
							
								459ab88998
								
							 
						 
						
							
								
								fast memcpy/memset  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								4d620d12cd
								
							 
						 
						
							
								
								(Hopefully) fix C++ constructors  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								0e7ec43e40
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #302  from FrankBoesing/patch-6  
							 
							
							 
							
							
							
							fix warning "implicit declaration of function 'delay'" 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								66b0de6c15
								
							 
						 
						
							
								
								Fix digitalRead() while pin is output mode  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								84b430f967
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #304  from FrankBoesing/patch-7  
							 
							
							 
							
							
							
							Renumbered IRQ_RESERVED1-7, IRQ_SOFTWARE = 62 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								585a9009b8
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Update imxrt.h  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								bd6602e10a
								
									
										
											 
										
									
								
							 
						 
						
							
								
								IRQ_SOFTWARE = 70  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								29e5856505
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #303  from WMXZ-EU/master  
							 
							
							 
							
							
							
							corrected SAI1/3_CLK_PODF 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								dac015d92e
								
							 
						 
						
							
								
								Add attachInterrupt  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								cf68a26fb6
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Renumbered IRQ_RESERVED1-7, IRQ_SOFTWARE = 62  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   WMXZ-EU
							
						 
						
							
								4402a96138
								
									
										
											 
										
									
								
							 
						 
						
							
								
								corrected SAI1/3_CLK_PODF  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								e97247b30b
								
							 
						 
						
							
								
								Add util headers  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								2a8b5d066e
								
									
										
											 
										
									
								
							 
						 
						
							
								
								rmv warning "implicit declaration of function 'delay'"  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								eb3d0484b1
								
							 
						 
						
							
								
								Add tone function  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								a1ff3e9256
								
							 
						 
						
							
								
								Fix USB serial issues printing before device ready  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   PaulStoffregen
							
						 
						
							
								7153086e77
								
							 
						 
						
							
								
								Don't disturb pin 13 (leftover debugging code)  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								db94e10519
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #301  from FrankBoesing/patch-5  
							 
							
							 
							
							
							
							SCB_SHPR3 = 0x20000000;  // Systick = priority 32 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Paul Stoffregen
							
						 
						
							
								188d382d43
								
									
										
											 
										
									
								
							 
						 
						
							
								
								Merge pull request  #300  from FrankBoesing/patch-4  
							 
							
							 
							
							
							
							default 128 priority for all interrupts 
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								4317a52591
								
									
										
											 
										
									
								
							 
						 
						
							
								
								SCB_SHPR3 = 0x20000000;  // Systick = priority 32  
							 
							
							
							
						 
						pirms 6 gadiem  
					 
				
					
						
							
								   Frank
							
						 
						
							
								95ad3b5a30
								
									
										
											 
										
									
								
							 
						 
						
							
								
								default 128 priority for all interrupts  
							 
							
							
							
						 
						pirms 6 gadiem