added spi register calculators