Professional Documents
Culture Documents
Psuedoshiftregread
Psuedoshiftregread
Psuedoshiftregread
SR_Read_Init
Parameters: CustomPin_t LoadPin, CustomPin_t CLKPin, CustomPin_t DataPin
SR_Read_GetCurrentRegister
Return LocalRegisterImage
End of SR_Read_GetCurrentRegister
SR_Read
Parameters: CustomPin_t LoadPin, CustomPin_t CLKPin, CustomPin_t DataPin
Local Variable: uint8_t Input
Set Input to 0
Lower the load bit to put values into Qn registers
Pulse the clock high then low to shift the next data bit
Raise the load bit to no longer read values into Qn registers