Zerocat Chipflasher  v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
Public Attributes | List of all members
tag_xcog0 Struct Reference

Cog parameters for burn(). More...

#include <kick.h>

Public Attributes

int * pcog
 Cog info pointer, used by cog_end(). More...
 
unsigned char cmd
 Command to be used for writing. More...
 
unsigned char abits
 addrbits. More...
 
unsigned int lineaddr
 startaddress of data line. More...
 
int psize
 Page size. More...
 
unsigned char * pbuf
 Pointer to ringbuffer. More...
 
unsigned char bufsize
 Size of ringbuffer. More...
 
volatile unsigned int offrd
 Buffer read pointer offset. More...
 
volatile unsigned int offwr
 Buffer write pointer offset. More...
 
volatile unsigned char queue_empty
 Flag to indicate that the data queue is empty. More...
 
volatile unsigned char rq_spioff
 Flag to request SPI off. More...
 
volatile unsigned char rq_lineaddr
 Flag to request the next line address. More...
 

Detailed Description

Note
Not all members have to be declared volatile, for access is controlled by run and busy.
Warning
Do not declare flags as a volatile bitfield struct. It does not work.

Definition at line 203 of file kick.h.

Member Data Documentation

◆ abits

unsigned char tag_xcog0::abits

Definition at line 206 of file kick.h.

◆ bufsize

unsigned char tag_xcog0::bufsize

Definition at line 210 of file kick.h.

◆ cmd

unsigned char tag_xcog0::cmd

Definition at line 205 of file kick.h.

◆ lineaddr

unsigned int tag_xcog0::lineaddr

Definition at line 207 of file kick.h.

◆ offrd

volatile unsigned int tag_xcog0::offrd

Definition at line 211 of file kick.h.

◆ offwr

volatile unsigned int tag_xcog0::offwr

Definition at line 212 of file kick.h.

◆ pbuf

unsigned char* tag_xcog0::pbuf

Definition at line 209 of file kick.h.

◆ pcog

int* tag_xcog0::pcog

Definition at line 204 of file kick.h.

◆ psize

int tag_xcog0::psize

Definition at line 208 of file kick.h.

◆ queue_empty

volatile unsigned char tag_xcog0::queue_empty

Definition at line 213 of file kick.h.

◆ rq_lineaddr

volatile unsigned char tag_xcog0::rq_lineaddr

Definition at line 215 of file kick.h.

◆ rq_spioff

volatile unsigned char tag_xcog0::rq_spioff

Definition at line 214 of file kick.h.


The documentation for this struct was generated from the following file: