Can someone tell me where the low level source code for digitalWrite is?
I've done a file search in all files in the installed IDE files, but can only find the prototype for this in Arduino.h
void digitalWrite(uint8_t, uint8_t);
Is it in a pre-compiled library ?
I'm asking because I'm working on a port of Arduino to STM32 (done originally by LeafLabs) and I'm trying to improve the performance of digitalWrite as its used for bit banged I2C which is going slower than I need