package STM32.SPI is
type Internal_SPI_Port is private;
type SPI_Port (Periph : not null access Internal_SPI_Port) is
limited new HAL.SPI.SPI_Port with private;
and I’m puzzled about how this is to be used given that we know nothing about Internal_SPI_Port.
STM32.SPI starts with
and I’m puzzled about how this is to be used given that we know nothing about
Internal_SPI_Port
.I’ve got as far as
which doesn’t seem to be much use.
Somehow I need to use the full declaration
so that maybe I could say