microcontroller - what are the hex value in MCP2515 SPI instruction set, looks not like address -


i read mcp2515.h files online. there 1 part spi instruction set, or spi commands. example:

#define mcp_cmd_write 0x02 #define mcp_cmd_read 0x03 #define mcp_cmd_bit_modify 0x05 #define mcp_cmd_load_tx 0x40 #define mcp_cmd_rts 0x80 #define mcp_cmd_read_rx 0x90 #define mcp_cmd_read_status 0xa0 #define mcp_cmd_rx_status 0xb0 #define mcp_cmd_reset 0xc0 

those hex 0*xx values not address. or microchip defined values?

they refer spi instruction sets. under table 12-1. definitions asking instruction format converted hex. http://ww1.microchip.com/downloads/en/devicedoc/21801g.pdf


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -