Skip to content

Commit

Permalink
better device handle padding
Browse files Browse the repository at this point in the history
  • Loading branch information
FT9R committed May 22, 2024
1 parent cc740ac commit f4b627b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions w25qxx/w25qxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@ typedef struct w25qxx_HandleTypeDef_s
void (*CS_Set)(w25qxx_CS_State_t newState);
void (*Delay)(uint32_t ms);
} interface;
w25qxx_Status_t status;
w25qxx_Error_t error;
uint32_t numberOfPages;
uint16_t frameLength;
uint16_t CRC16;
uint8_t ID[2];
uint8_t statusRegister;
uint8_t CMD;
uint8_t addressBytes[3];
} w25qxx_HandleTypeDef;

/**
Expand Down

0 comments on commit f4b627b

Please sign in to comment.