Pete
7a309dfb89
Update AudioStream.cpp
5 lat temu
PaulStoffregen
390a1e2f4c
Add data cache functions
5 lat temu
Paul Stoffregen
be8a8b9f4a
Merge pull request #308 from FrankBoesing/patch-2
optimized delayNanoseconds
5 lat temu
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
5 lat temu
PaulStoffregen
efc41ea92d
add analogWriteResolution()
5 lat temu
PaulStoffregen
b9066ead1f
Fix typo (thanks tonton81)
5 lat temu
PaulStoffregen
487b234b72
Fix PWM on pin 9 (thanks Manitou)
5 lat temu
PaulStoffregen
1312d8bc61
Fix I/O register macros
5 lat temu
PaulStoffregen
576c748f2f
pinMode configure pins for output drive in all modes, needed for direct I/O libs
5 lat temu
PaulStoffregen
f21cf2cf2f
Add more pin defs, needed for Encoder
5 lat temu
Paul Stoffregen
1638e51f71
Merge pull request #306 from FrankBoesing/master
fast memcpy/memset
5 lat temu
Paul Stoffregen
9f6a4858f2
Merge pull request #307 from FrankBoesing/patch-1
Add delayNanoseconds()
5 lat temu
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.
5 lat temu
PaulStoffregen
c4ab57c003
EventResponder, MillisTimer, yield
5 lat temu
Frank Bösing
459ab88998
fast memcpy/memset
5 lat temu
PaulStoffregen
4d620d12cd
(Hopefully) fix C++ constructors
5 lat temu
Paul Stoffregen
0e7ec43e40
Merge pull request #302 from FrankBoesing/patch-6
fix warning "implicit declaration of function 'delay'"
5 lat temu
PaulStoffregen
66b0de6c15
Fix digitalRead() while pin is output mode
5 lat temu
Paul Stoffregen
84b430f967
Merge pull request #304 from FrankBoesing/patch-7
Renumbered IRQ_RESERVED1-7, IRQ_SOFTWARE = 62
5 lat temu
Frank
585a9009b8
Update imxrt.h
5 lat temu
Frank
bd6602e10a
IRQ_SOFTWARE = 70
5 lat temu
Paul Stoffregen
29e5856505
Merge pull request #303 from WMXZ-EU/master
corrected SAI1/3_CLK_PODF
5 lat temu
PaulStoffregen
dac015d92e
Add attachInterrupt
5 lat temu
Frank
cf68a26fb6
Renumbered IRQ_RESERVED1-7, IRQ_SOFTWARE = 62
5 lat temu
WMXZ-EU
4402a96138
corrected SAI1/3_CLK_PODF
5 lat temu
PaulStoffregen
e97247b30b
Add util headers
5 lat temu
Frank
2a8b5d066e
rmv warning "implicit declaration of function 'delay'"
5 lat temu
PaulStoffregen
eb3d0484b1
Add tone function
5 lat temu
PaulStoffregen
a1ff3e9256
Fix USB serial issues printing before device ready
5 lat temu
PaulStoffregen
7153086e77
Don't disturb pin 13 (leftover debugging code)
5 lat temu
Paul Stoffregen
db94e10519
Merge pull request #301 from FrankBoesing/patch-5
SCB_SHPR3 = 0x20000000; // Systick = priority 32
5 lat temu
Paul Stoffregen
188d382d43
Merge pull request #300 from FrankBoesing/patch-4
default 128 priority for all interrupts
5 lat temu
Frank
4317a52591
SCB_SHPR3 = 0x20000000; // Systick = priority 32
5 lat temu
Frank
95ad3b5a30
default 128 priority for all interrupts
5 lat temu
PaulStoffregen
0a7c35fb3c
Fix pin defines for pins 0 & 1, fixes PWM issue
5 lat temu
PaulStoffregen
9174cad274
Fix crash at startup with Og optimization
5 lat temu
PaulStoffregen
742625eb00
Fix crash as startup with Fastest (O3) optimization
5 lat temu
Paul Stoffregen
98d27b2d92
Merge pull request #298 from FrankBoesing/patch-3
SPDIF register bit defs
5 lat temu
PaulStoffregen
986ff3797d
Fix tempmon address, fixes #299
5 lat temu
Paul Stoffregen
ff66b70413
Merge pull request #297 from FrankBoesing/patch-2
Tempmon registers - bit definitions
5 lat temu
Paul Stoffregen
7d9032cca2
Merge pull request #296 from FrankBoesing/patch-1
Reset Control Bit Definitions
5 lat temu
Frank
49fa787c2c
SPDIF register bit defs
5 lat temu
Frank
e648aecf04
Tempmon registers - bit definitions
5 lat temu
Frank
d2d7fb7423
(n)..
5 lat temu
Frank
223f543fde
Whitespace: Tabsize 8 (?)
5 lat temu
Frank
809e38dbdf
Reset Control Bit Definitions
- comment SRC_GPR1..SRC_GPR10 (used by the ROM code)
5 lat temu
PaulStoffregen
3ac5eff53d
Update imxrt.h (for SPI transaction)
5 lat temu
PaulStoffregen
262f3eaa99
Add DMAChannel for IMXRT
5 lat temu
PaulStoffregen
35ddbd7a4f
Improve I2C defines
5 lat temu
PaulStoffregen
26ebd85d35
Import Wiring math functions
5 lat temu