Except this is totally unmaintainable as "open source" since there isn't any documentation or even any sort of register listing: https://github.com/grate-driver/grate/blob/master/src/libhos...
Actually, the way it's written it seems that folks at Avionics Designs did not have access to any documentation and it's pretty much a reverse-engineered effort anyway.