In case you want to give the TeensyTimerTool a try, here some working code using the GPT timers. It uses a second (one-shot-)timer to reset the pin which avoids waiting 10µs in the ISR. GPT clock was set to 150MHz in the config file.
Code:
#include "TeensyTimerTool.h"
using namespace TeensyTimerTool;
PeriodicTimer mainTimer(GPT1);
OneShotTimer pulseTimer(GPT2);
void mainISR(){
pulseTimer.trigger(10.0us); // start the pulse timer to reset the pin after 10µs. If necessary, you can fine tune the 10µs to compensate for time needed to call the trigger function.
digitalWriteFast(0, HIGH);
}
void pulseISR(){
digitalWriteFast(0, LOW); // reset the pin
}
void setup(){
pinMode(0, OUTPUT);
mainTimer.begin(mainISR, 0.376467s); // invoke the callback every 0.376467s
pulseTimer.begin(pulseISR); // attach the pulseISR callback to the oneShotTimer
}
void loop(){
}
Unfortunately my cheap (24Mhz) logic analyzer is not precise enough to measure more than 4 digits but those at least correspond nicely to the requested 0.376467s.

Please note: it looks like the newest version of the library (v0.3.1) is not yet detected by the Arduino library manager. But you can always download it from the gitHub repo.